[Bioperl-guts-l] [Bug 2869] Bio::Tree, fail to get children of root node through some way

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Aug 2 18:07:29 EDT 2010


http://bugzilla.open-bio.org/show_bug.cgi?id=2869


cjfields at bioperl.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #9 from cjfields at bioperl.org  2010-08-02 18:07 EST -------
Xi, I'm closing this bug out as documentation has been added where needed.  The
comparison to Bio::SearchIO isn't quite accurate, as in that case you retain
the top-level object (namely the Bio::Search::Result::ResultI) when doing this:

my $res = Bio::SearchIO->new(-file => 'foo', -format => 'blast')->next_result;

whereas in the Bio::TreeIO case you aren't retaining the top-level object
(Bio::Tree::TreeI), but an object contained within the Tree by chaining another
step:

my $node = Bio::TreeIO->new(-file => 'foo', -format =>
'newick')->next_tree->get_root_node;

I would expect in both cases (SearchIO, TreeIO) any other contained objects
would be GC'd as well.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bioperl-guts-l mailing list