mailr7318 - /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 September 25, 2008 - 20:54:
Author: bugman
Date: Thu Sep 25 20:54:23 2008
New Revision: 7318

URL: http://svn.gna.org/viewcvs/relax?rev=7318&view=rev
Log:
Removed the residue name from the call to generate_spin_id().

This allows point mutations in the loaded structure so that the structure 
doesn't exactly have to
be that for which the data was collected.


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=7318&r1=7317&r2=7318&view=diff
==============================================================================
--- 1.3/generic_fns/structure/main.py (original)
+++ 1.3/generic_fns/structure/main.py Thu Sep 25 20:54:23 2008
@@ -297,7 +297,7 @@
             continue
 
         # The spin identification string.
-        id = generate_spin_id(mol_name, res_num, res_name, spin.num, 
spin.name)
+        id = generate_spin_id(mol_name=mol_name, res_num=res_num, 
res_name=None, spin_num=spin.num, spin_name=spin.name)
 
         # Test that the spin number or name are set (one or both are 
essential for the identification of the atom).
         if spin.num == None and spin.name == None:




Related Messages


Powered by MHonArc, Updated Thu Sep 25 21:00:05 2008