Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Bio-Phylo CPAN distribution.

Report information
The Basics
Id: 34620
Status: resolved
Priority: 0/
Queue: Bio-Phylo

People
Owner: Nobody in particular
Requestors: struckma [...] uni-greifswald.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: A typo in Bio::Phylo::Unparsers::Newick
Date: Wed, 02 Apr 2008 14:05:10 +0200
To: bug-Bio-Phylo [...] rt.cpan.org
From: Stephan Struckmann <struckma [...] uni-greifswald.de>
Dear Rutger, unfortunately I have to send you another bug report for Bio::Phylo. It is a typo only: In the function _to_string in Bio::Phylo::Unparsers::Newick, you prepare the arguments hash for Forest::Node::to_newick from the data stored by the constructor of Unparsers::Newick: 01 sub _to_string { 02 my $self = shift; 03 my $tree = $self->{'PHYLO'}; 04 my $root = $tree->get_root; 05 my %args; 06 if ( $self->{'TRANSLATE'} ) { 07 $args{'-translate'} = $self->{'TRANSLATE'}; 08 } 09 if ( $self->{'TIPNAMES'} ) { 10 $args{'-tipnames'} = $self->{'NAMES'}; *** BUG *** 11 } 12 if ( $self->{'NHXKEYS'} ) { 13 $args{'-nhxkeys'} = $self->{'NHXKEYS'}; 14 } 15 if ( $self->{'NODELABELS'} ) { 16 $args{'-nodelabels'} = $self->{'NODELABELS'}; 17 } 18 if ( $self->{'BLFORMAT'} ) { 19 $args{'-blformat'} = $self->{'BLFORMAT'}; 20 } 21 if ( $self->{'NHXSTYLE'} ) { 22 $args{'-nhxstyle'} = $self->{'NHXSTYLE'}; 23 } 24 return $root->to_newick( %args ); 25 } As you can see, there is a typo in line 10. It should be: 10 $args{'-tipnames'} = $self->{'TIPNAMES'}; Greetings from Germany, Stephan Institut für Mathematik und Informatik E.-M.-A.-Universität Greifswald
Download (untitled)
application/pkcs7-signature 5.3k

Message body not shown because it is not plain text.

Dear Stephan, I just committed a fix to your bug to the Bio::Phylo svn repository. This means that you can now check out the updated version from here: http://nexml.svn.sourceforge.net/viewvc/nexml/trunk/nexml/perl/ Or you can download the updated Bio::Phylo as a CPAN-like archive from here (this distro is built automatically by a cron job from the latest source tree): http://www.nexml.org/nexml/downloads/Bio-Phylo-0.17_RC7.tar.gz (and eventually I will post v.0.17 proper to CPAN, once it's ready for release) Best wishes, Rutger