~ubuntu-branches/ubuntu/trusty/bioperl/trusty

« back to all changes in this revision

Viewing changes to Bio/Tree/Node.pm

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2013-09-22 13:39:48 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20130922133948-c6z62zegjyp7ztou
Tags: 1.6.922-1
* New upstream release.
* Replaces and Breaks grinder (<< 0.5.3-3~) because of overlaping contents.
  Closes: #722910
* Stop Replacing and Breaking bioperl ( << 1.6.9 ): not needed anymore. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
  defined $branchlen && $self->branch_length($branchlen);
136
136
  if( defined $children ) {
137
137
      if( ref($children) !~ /ARRAY/i ) {
138
 
          $self->warn("Must specify a valid ARRAY reference to initialize a Node's Descendents");
 
138
          $self->throw("Must specify a valid ARRAY reference to initialize a Node's Descendents");
139
139
      }
140
140
      foreach my $c ( @$children ) {    
141
141
          $self->add_Descendent($c);