[Bioperl-l] [Wg-phyloinformatics] Re: phyloXML weekly report

Han, Mira mirhan at indiana.edu
Fri Aug 15 06:11:46 UTC 2008

I've fixed the get_deep_Annotations() to get_nested_Annotations()
It has arguments -keys and -recursive,
And behaves exactly like get_Annotations() when recursive is not set (tested by replacing the get_Annotations() in the Annotation.t)
I made it a new function instead of modifying get_Annotations() because I wasn't sure how to modify it to be backwards compatible.
I thought of adding the function to the interface AnnotationCollectionI,
But it seemed like get_all_Annotations() was missing from the interface as well,
So decided to ask if it should be added to the interface at all.
Isn't it possible that certain implementations of the interface has functions that are only specific to that implementation?


On 8/12/08 12:00 AM, "Mira Han" <mirhan at indiana.edu> wrote:

Oh yes,
I meant get_Annotations,
I want a get_Annotations that is recursive and passes the keys to the recursive calls.

On 8/11/08 11:54 PM, "Hilmar Lapp" <hlapp at duke.edu> wrote:

Hi Mira -

On Aug 11, 2008, at 11:46 PM, Han, Mira wrote:

> Yes it is true that it's similar to get_all_Annotations, it's
> basically a recursive version of it.

I suppose you mean get_Annotations(), right? (get_all_Annotations() is
already recursive)

: Hilmar Lapp  -:-  Durham, NC  -:- hlapp at duke dot edu :

More information about the Bioperl-l mailing list