Author: bugman
Date: Mon Jan 19 11:27:36 2009
New Revision: 8511

URL: http://svn.gna.org/viewcvs/relax?rev=8511&view=rev
Log:
Bug fix for bond_vectors(), the molecule name was not correctly accessed.


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=8511&r1=8510&r2=8511&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Mon Jan 19 
11:27:36 2009
@@ -484,7 +484,7 @@
                 # Loop over all atoms.
                 for i in xrange(len(mol.atom_name)):
                     # Skip non-matching atoms.
-                    if sel_obj and not sel_obj.contains_spin(mol.atom_num[i], 
mol.atom_name[i], mol.res_num[i], mol.res_name[i], mol.name):
+                    if sel_obj and not sel_obj.contains_spin(mol.atom_num[i], 
mol.atom_name[i], mol.res_num[i], mol.res_name[i], mol.mol_name):
                         continue
 
                     # More than one matching atom!


_______________________________________________
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