Author: bugman
Date: Mon Jan 19 14:39:52 2009
New Revision: 8531

URL: http://svn.gna.org/viewcvs/relax?rev=8531&view=rev
Log:
Fixes for __residue_loop().  The Scientific python data structure is now in 
MolContainer.data.


Modified:
    branches/multi_structure/generic_fns/structure/scientific.py

Modified: branches/multi_structure/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/scientific.py?rev=8531&r1=8530&r2=8531&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/scientific.py (original)
+++ branches/multi_structure/generic_fns/structure/scientific.py Mon Jan 19 
14:39:52 2009
@@ -124,7 +124,7 @@
         if mol.mol_type != 'other':
             # Loop over the residues of the protein in the PDB file.
             res_index = -1
-            for res in mol.residues:
+            for res in mol.data.residues:
                 # Residue number and name.
                 if mol.mol_type == 'nucleic acid':
                     res_name = res.name[-1]
@@ -147,7 +147,7 @@
             res_index = -1
             print mol
             print "\n"*10
-            for res in mol:
+            for res in mol.data:
                 print res
                 # Residue index.
                 res_index = res_index + 1


_______________________________________________
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

Reply via email to