mailr8990 - /1.3/generic_fns/structure/main.py


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

Header


Content

Posted by edward on March 20, 2009 - 17:44:
Author: bugman
Date: Fri Mar 20 17:44:37 2009
New Revision: 8990

URL: http://svn.gna.org/viewcvs/relax?rev=8990&view=rev
Log:
Made the call to cdp.structure.bond_vectors() more fault tolerant.

The molecule name, residue name, and spin number are removed to allow for 
different structures!


Modified:
    1.3/generic_fns/structure/main.py

Modified: 1.3/generic_fns/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/main.py?rev=8990&r1=8989&r2=8990&view=diff
==============================================================================
--- 1.3/generic_fns/structure/main.py (original)
+++ 1.3/generic_fns/structure/main.py Fri Mar 20 17:44:37 2009
@@ -361,7 +361,7 @@
                 continue
 
         # Get the bond info.
-        bond_vectors, attached_name, warnings = 
cdp.structure.bond_vectors(attached_atom=attached, model_num=model, 
mol_name=mol_name, res_num=res_num, res_name=res_name, spin_num=spin.num, 
spin_name=spin.name, return_name=True, return_warnings=True)
+        bond_vectors, attached_name, warnings = 
cdp.structure.bond_vectors(attached_atom=attached, model_num=model, 
res_num=res_num, spin_name=spin.name, return_name=True, return_warnings=True)
 
         # No attached atom.
         if not bond_vectors:




Related Messages


Powered by MHonArc, Updated Tue Mar 24 18:40:03 2009