[Bioperl-l] $seq->id() is read only

hilmar.lapp@pharma.Novartis.com hilmar.lapp@pharma.Novartis.com
Thu, 12 Oct 2000 12:32:13 +0100




Seq->display_id is just PrimarySeq->display_id

From Seq.pm/display_id()
  ...
  $self->primary_seq->display_id($value);

id() for Seq just calls display_id() after having discarded the args.

     The first is certainly okay (delegation to primary_seq). Without
     having the code in front of me, I guess then that id() could be
     something different than display_id(), but for Bio::Seq it is not
     (which I think is okay). The only bug is then that id() is get-only.

          Hilmar