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

« back to all changes in this revision

Viewing changes to Bio/TreeIO/lintree.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: lintree.pm,v 1.8.4.1 2006/10/02 23:10:37 sendu Exp $
 
1
# $Id: lintree.pm 11480 2007-06-14 14:16:21Z sendu $
2
2
#
3
3
# BioPerl module for Bio::TreeIO::lintree
4
4
#
18
18
 
19
19
  # do not use directly, use through Bio::TreeIO
20
20
  use Bio::TreeIO;
21
 
  my $treeio = new Bio::TreeIO(-format => 'lintree',
 
21
  my $treeio = Bio::TreeIO->new(-format => 'lintree',
22
22
                               -file   => 't/data/crab.nj');
23
23
  my $tree = $treeio->next_tree;
24
24
 
119
119
=head2 new
120
120
 
121
121
 Title   : new
122
 
 Usage   : my $obj = new Bio::TreeIO::lintree();
 
122
 Usage   : my $obj = Bio::TreeIO::lintree->new();
123
123
 Function: Builds a new Bio::TreeIO::lintree object 
124
124
 Returns : an instance of Bio::TreeIO::lintree
125
125
 Args    : -nodetype => Node type to create [default Bio::Tree::Node]