fhcrc / seqmagick

An imagemagick-like frontend to Biopython SeqIO
http://seqmagick.readthedocs.org
GNU General Public License v3.0
113 stars 22 forks source link

Can't run with current biopython #2

Closed cmccoy closed 13 years ago

cmccoy commented 13 years ago

I'm unable to run seqmagick on a clean python / biopython installation:

(seqmagick-test)cmccoy@dhcp151146$ seqmagick
Traceback (most recent call last):
  File "/Users/cmccoy/.virtualenvs/seqmagick-test/bin/seqmagick", line
9, in <module>
    from seqmagick.magickwrap import MagickWrap
  File
"/Users/cmccoy/.virtualenvs/seqmagick-test/lib/python2.7/site-packages/seqmagick/magickwrap.py",
line 17, in <module>
    from Bio.Seq import Seq, SeqRecord
ImportError: cannot import name SeqRecord

This should be changed to:

from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord

See: https://github.com/biopython/biopython/commit/4b03f91f3561f46e0b3341dce8be7e871d10f97b

cmccoy commented 13 years ago

Fixed in 70654723619dfa20b4d9