mailr3584 - /1.3/prompt/spin.py


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

Header


Content

Posted by edward on November 18, 2007 - 22:05:
Author: bugman
Date: Sun Nov 18 22:05:49 2007
New Revision: 3584

URL: http://svn.gna.org/viewcvs/relax?rev=3584&view=rev
Log:
Bug fix for the spin.rename() user function.

The generic_fns.spin.create() function was being called instead and the 
non-existent spin_num
argument was being passed into it.


Modified:
    1.3/prompt/spin.py

Modified: 1.3/prompt/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/spin.py?rev=3584&r1=3583&r2=3584&view=diff
==============================================================================
--- 1.3/prompt/spin.py (original)
+++ 1.3/prompt/spin.py Sun Nov 18 22:05:49 2007
@@ -266,7 +266,7 @@
             raise RelaxStrError, ('new spin name', new_name)
 
         # Execute the functional code.
-        spin.create(spin_num=spin_num, new_name=new_name)
+        spin.rename(spin_id=spin_id, new_name=new_name)
 
 
     def renumber(self, spin_id=None, new_number=None):




Related Messages


Powered by MHonArc, Updated Sun Nov 18 22:20:11 2007