[Biopython] Xpdb error

Dries Van Rompaey dries.vanrompaey at gmail.com
Mon May 23 14:02:56 UTC 2016


Hi everyone,

I'm using biopython to parse some MD files for further processing. I'm
using the SloppyStructureBuilder from xpdb.py (as described
inhttp://biopython.org/wiki/Reading_large_PDB_files), as I have quite
a lot
of residues and the standard class doesn't support that very well.
Unfortunately, I get the following error:

File "/Users/dvr/Dropbox/Work/xpdb.py", line 76, in init_residue
    residue = Residue(res_id, resname, self.segid)
NameError: global name 'Residue' is not defined

Does anyone know what's going on here?

Thanks,
Kind regards,

Dries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20160523/0cd5d986/attachment.html>


More information about the Biopython mailing list