~ubuntu-branches/ubuntu/saucy/bioperl/saucy-proposed

« back to all changes in this revision

Viewing changes to Bio/Cluster/ClusterFactory.pm

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2009-03-10 07:19:11 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090310071911-fukqzw54pyb1f0bd
Tags: 1.6.0-2
* Removed patch system (not used):
  - removed instuctions in debian/rules;
  - removed quilt from Build-Depends in debian/control.
* Re-enabled tests:
  - uncommented test command in debian/rules;
  - uncommented previously missing build-dependencies in debian/control.
  - Re-enabled tests and uncommented build-dependencies accordingly.
* Removed libmodule-build-perl and libtest-harness-perl from
  Build-Depends-Indep (provided by perl-modules).
* Better cleaning of empty directories using find -type d -empty -delete
  instead of rmdir in debian/rules (LP: #324001).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: ClusterFactory.pm,v 1.6.4.1 2006/10/02 23:10:13 sendu Exp $
 
1
# $Id: ClusterFactory.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#
3
3
# BioPerl module for Bio::Cluster::ClusterFactory
4
4
#
33
33
    use Bio::Cluster::ClusterFactory;
34
34
    # if you don't provide a default type, the factory will try
35
35
    # some guesswork based on display_id and namespace
36
 
    my $factory = new Bio::Cluster::ClusterFactory(-type => 'Bio::Cluster::UniGene');
 
36
    my $factory = Bio::Cluster::ClusterFactory->new(-type => 'Bio::Cluster::UniGene');
37
37
    my $clu = $factory->create_object(-description => 'NAT',
38
38
                                      -display_id  => 'Hs.2');
39
39
 
87
87
=head2 new
88
88
 
89
89
 Title   : new
90
 
 Usage   : my $obj = new Bio::Cluster::ClusterFactory();
 
90
 Usage   : my $obj = Bio::Cluster::ClusterFactory->new();
91
91
 Function: Builds a new Bio::Cluster::ClusterFactory object 
92
92
 Returns : Bio::Cluster::ClusterFactory
93
93
 Args    : -type => string, name of a ClusterI derived class.