mailr6809 - /1.3/generic_fns/structure/scientific.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 07, 2008 - 22:24:
Author: bugman
Date: Mon Jul  7 22:24:34 2008
New Revision: 6809

URL: http://svn.gna.org/viewcvs/relax?rev=6809&view=rev
Log:
Another fix for the __find_bonded_atom() Scientific PDB object method.


Modified:
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=6809&r1=6808&r2=6809&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Mon Jul  7 22:24:34 2008
@@ -79,8 +79,8 @@
 
         # The find the attached atom in the residue (FIXME).
         matching_list = []
-        for atom in res.atoms:
-            if relax_re.search(attached_atom, atom):
+        for atom in res.atoms.keys():
+            if relax_re.search(atom, attached_atom):
                 matching_list.append(atom)
         num_attached = len(matching_list)
 




Related Messages


Powered by MHonArc, Updated Mon Jul 07 22:40:16 2008