[Bioperl-l] Bio::*Taxonomy* changes

Hilmar Lapp hlapp at gmx.net
Mon Jul 17 19:31:55 UTC 2006


Yes I think $node->scientific_name() as shorthand would be good to  
have. Same BTW for $node->common_names() (which would return an array).

	-hilmar

On Jul 17, 2006, at 2:09 PM, Sendu Bala wrote:

> Hilmar Lapp wrote:
>>> I also plan to make $node->name('scientific', 'sapiens'); set and
>>> get the node name, [...] users will now find the node name in [...]
>>> @{$node->name('scientific')}
>>
>> BTW NCBI guarantees (well, promises) that there will only be one node
>> name of class 'scientific'.
>
> Yes, which is why I feel the API for name() isn't ideal, but  
> thought it
> would be best to play along. Would having a new scientific_name()  
> method
> be better, which gets/sets a single value? Perhaps it could just be a
> more 'sane' shorthand to setting @{$node->name('scientific')} to a  
> list
> with only the supplied name, and getting ${$node->name 
> ('scientific')}[0] ?
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>

-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================








More information about the Bioperl-l mailing list