mailr3497 - /1.3/generic_fns/spin.py


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

Header


Content

Posted by edward on November 11, 2007 - 21:14:
Author: bugman
Date: Sun Nov 11 21:14:24 2007
New Revision: 3497

URL: http://svn.gna.org/viewcvs/relax?rev=3497&view=rev
Log:
Debugged the spin creation function.


Modified:
    1.3/generic_fns/spin.py

Modified: 1.3/generic_fns/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/spin.py?rev=3497&r1=3496&r2=3497&view=diff
==============================================================================
--- 1.3/generic_fns/spin.py (original)
+++ 1.3/generic_fns/spin.py Sun Nov 11 21:14:24 2007
@@ -127,7 +127,7 @@
     res_to_cont = return_residue(res_id)
     if res_to_cont == None and res_id:
         raise RelaxError, "The residue in " + `res_id` + " does not exist in 
the current data pipe."
-    else:
+    elif res_to_cont == None:
         res_to_cont = cdp.mol[0].res[0]
 
     # Test if the spin number already exists.




Related Messages


Powered by MHonArc, Updated Sun Nov 11 21:40:13 2007