mailr10684 - /1.3/auto_analyses/relax_fit.py


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

Header


Content

Posted by edward on February 06, 2010 - 02:52:
Author: bugman
Date: Sat Feb  6 02:52:44 2010
New Revision: 10684

URL: http://svn.gna.org/viewcvs/relax?rev=10684&view=rev
Log:
A couple of fixes for the Relax_fit auto analysis class.

The interpreter was not being imported and a class variable was missing the 
'self.' part!


Modified:
    1.3/auto_analyses/relax_fit.py

Modified: 1.3/auto_analyses/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/auto_analyses/relax_fit.py?rev=10684&r1=10683&r2=10684&view=diff
==============================================================================
--- 1.3/auto_analyses/relax_fit.py (original)
+++ 1.3/auto_analyses/relax_fit.py Sat Feb  6 02:52:44 2010
@@ -22,6 +22,9 @@
 
 # Module docstring.
 """The automatic relaxation curve fitting protocol."""
+
+# relax module imports.
+from prompt.interpreter import Interpreter
 
 
 
@@ -67,7 +70,7 @@
         """Set up and run the curve-fitting."""
 
         # Create the data pipe.
-        self.interpreter.pipe.create(pipe_name, 'relax_fit')
+        self.interpreter.pipe.create(self.pipe_name, 'relax_fit')
 
         # Load the sequence.
         self.interpreter.sequence.read(file=self.seq_args[0], 
dir=self.seq_args[1], mol_name_col=self.seq_args[2], 
res_num_col=self.seq_args[3], res_name_col=self.seq_args[4], 
spin_num_col=self.seq_args[5], spin_name_col=self.seq_args[6], 
sep=self.seq_args[7])




Related Messages


Powered by MHonArc, Updated Sat Feb 06 03:00:02 2010