diff --git a/modules/Bio/EnsEMBL/SimpleFeature.pm b/modules/Bio/EnsEMBL/SimpleFeature.pm index 4ac4880e846e3611b00f49c08a7b91a18fe3a5d8..156b494d4bea6b614c98c6ccdba0103a9ed9dd27 100644 --- a/modules/Bio/EnsEMBL/SimpleFeature.pm +++ b/modules/Bio/EnsEMBL/SimpleFeature.pm @@ -181,7 +181,7 @@ sub summary_as_hash { $hash->{score} = $self->score() if $self->score(); $hash->{'external_name'} = $self->display_label() if $self->display_label(); $hash->{'logic_name'} = $self->analysis->logic_name(); - delete $hash-{ID}; + delete $hash->{ID}; return $hash; }