[Biopython-dev] [Biopython - Bug #3278] (New) SeqIO tries to use Gapped without import
redmine at redmine.open-bio.org
redmine at redmine.open-bio.org
Tue Aug 9 14:29:54 UTC 2011
Issue #3278 has been reported by Paul Agapow.
----------------------------------------
Bug #3278: SeqIO tries to use Gapped without import
https://redmine.open-bio.org/issues/3278
Author: Paul Agapow
Status: New
Priority: Normal
Assignee: Biopython Dev Mailing List
Category: Main Distribution
Target version: 1.53
URL:
@to_alignment@ in @SeqIO@ uses @Gapped@ (@ isinstance(alphabet, Gapped)@) but does not actually import @Gapped at . Thus a @NameError@ results. Although the method is labelled obsolete, it is used by @SeqIO@ in write when an @AlignIO@ writer must be used (e.g. when trying to write sequences to a Nexus file).
Solution: @from Bio.Alphabet import Gapped@
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org
More information about the Biopython-dev
mailing list