Menu

Commit [r2593]  Maximize  Restore  History

Fix for bug #7241 (https://gna.org/bugs/?7241).

This is fix for the changes made at r2591 which were an attempt to fix the bug. Those changes did
not work though as the Scientific PDB data structure always contains the objects 'peptide_chains'
and 'nucleotide_chains'. Therefore these are now tested to see if they are empty rather than if
they exist.

The algorithm remains the same as in r2591, peptide chains are searched for and used first, then
nucleotide chains are searched for, and if neither are present RelaxNoPdbChainError is raised.

bugman 2006-10-01

changed /1.2/generic_fns/pdb.py
/1.2/generic_fns/pdb.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.