[Bioperl-l] Annotation:_typemap remembers removed types

markus.riester at student.uni-tuebingen.de markus.riester at student.uni-tuebingen.de
Tue Dec 20 11:02:10 EST 2005


Hi,

not sure if the current behaviour is a bug or a feature. This trivial patch
removes the type from _typemap after removal.

Markus

Bio/Annotation/Collection.pm

321,322c321,323
<     foreach (@keys) {
<       delete $self->{'_annotation'}->{$_};
---
>     foreach my $key (@keys) {
>       delete $self->{'_annotation'}->{$key};
>       delete $self->{'_typemap'}->{'_type'}->{$key};




More information about the Bioperl-l mailing list