Show
Ignore:
Timestamp:
14/08/09 16:29:27 (3 years ago)
Author:
westram
Message:
  • spellchecked all (phew)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/PERL_SCRIPTS/BIOPERL/beautifyNewick.pl

    r6065 r6141  
    4848  $depth++; 
    4949 
    50   my @childs = (); 
     50  my @children = (); 
    5151  foreach my $child ($node->each_Descendent()) { 
    52     push @childs, node2string($child).':'.$child->branch_length; 
     52    push @children, node2string($child).':'.$child->branch_length; 
    5353  } 
    5454 
     
    5656    my $len = length($str); 
    5757 
    58     $str .= make_indent($inTreeComments-$len)."[childs=".scalar(@childs); 
     58    $str .= make_indent($inTreeComments-$len)."[children=".scalar(@children); 
    5959    if ($indent_incr==0) { $str .= ', level='.$depth; } 
    6060    $str .= "]"; 
     
    6262  $str .= "\n"; 
    6363 
    64   $str .= join(",\n", @childs)."\n"; 
     64  $str .= join(",\n", @children)."\n"; 
    6565 
    6666  $depth--;