mailr25765 - /branches/frame_order_cleanup/specific_analyses/frame_order/checks.py


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

Header


Content

Posted by edward on September 12, 2014 - 09:57:
Author: bugman
Date: Fri Sep 12 09:57:12 2014
New Revision: 25765

URL: http://svn.gna.org/viewcvs/relax?rev=25765&view=rev
Log:
Missing imports in the specific_analyses.frame_order.checks module.

This is from the recent pipe_name argument addition in the check_pivot() 
function.


Modified:
    branches/frame_order_cleanup/specific_analyses/frame_order/checks.py

Modified: branches/frame_order_cleanup/specific_analyses/frame_order/checks.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/checks.py?rev=25765&r1=25764&r2=25765&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/checks.py      
  (original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/checks.py      
  Fri Sep 12 09:57:12 2014
@@ -24,6 +24,7 @@
 
 # relax module imports.
 from lib.errors import RelaxError
+from pipe_control.pipes import cdp_name, get_pipe
 
 
 def check_pivot(pipe_name=None):
@@ -36,10 +37,10 @@
 
     # The data pipe.
     if pipe_name == None:
-        pipe_name = pipes.cdp_name()
+        pipe_name = cdp_name()
 
     # Get the data pipe.
-    dp = pipes.get_pipe(pipe_name)
+    dp = get_pipe(pipe_name)
 
     # Check for the pivot_x parameter.
     if not hasattr(dp, 'pivot_x'):




Related Messages


Powered by MHonArc, Updated Fri Sep 12 10:00:03 2014