Author: bugman
Date: Tue Jan 20 17:02:00 2009
New Revision: 8554
URL: http://svn.gna.org/viewcvs/relax?rev=8554&view=rev
Log:
A fix for the __parse_mols() method.
The 'END' PDB record is no longer identified as a molecule!
Modified:
branches/multi_structure/generic_fns/structure/internal.py
Modified: branches/multi_structure/generic_fns/structure/internal.py
URL:
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8554&r1=8553&r2=8554&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Tue Jan 20
17:02:00 2009
@@ -278,6 +278,10 @@
# Loop over the data.
for record in records:
+ # A PDB termination record.
+ if search('^END', record):
+ break
+
# A molecule termination record.
if search('^TER', record):
# Yield the info.
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits