mailr7141 - /branches/rdc_analysis/prompt/frq.py


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

Header


Content

Posted by edward on August 11, 2008 - 14:38:
Author: bugman
Date: Mon Aug 11 14:02:47 2008
New Revision: 7141

URL: http://svn.gna.org/viewcvs/relax?rev=7141&view=rev
Log:
Fixes for the frq.set() user function.


Modified:
    branches/rdc_analysis/prompt/frq.py

Modified: branches/rdc_analysis/prompt/frq.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/prompt/frq.py?rev=7141&r1=7140&r2=7141&view=diff
==============================================================================
--- branches/rdc_analysis/prompt/frq.py (original)
+++ branches/rdc_analysis/prompt/frq.py Mon Aug 11 14:02:47 2008
@@ -29,7 +29,7 @@
 # relax module imports.
 import help
 from relax_errors import RelaxNumError, RelaxStrError
-from generic_fns import frq
+import generic_fns.frq
 
 
 class Frq:
@@ -63,7 +63,7 @@
         """
 
         # Function intro text.
-        if self.relax.interpreter.intro:
+        if self.__relax__.interpreter.intro:
             text = sys.ps3 + "frq("
             text = text + "id=" + `id`
             text = text + ", frq=" + `frq` + ")"
@@ -78,4 +78,4 @@
             raise RelaxNumError, ('spectrometer frequency', frq)
 
         # Execute the functional code.
-        frq.set(id=id, frq=frq)
+        generic_fns.frq.set(id=id, frq=frq)




Related Messages


Powered by MHonArc, Updated Mon Aug 11 14:40:30 2008