mailr7486 - /branches/pipe_refs/generic_fns/relax_data.py


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

Header


Content

Posted by edward on October 01, 2008 - 15:52:
Author: bugman
Date: Wed Oct  1 15:52:50 2008
New Revision: 7486

URL: http://svn.gna.org/viewcvs/relax?rev=7486&view=rev
Log:
Fixed a circular import issue.


Modified:
    branches/pipe_refs/generic_fns/relax_data.py

Modified: branches/pipe_refs/generic_fns/relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/pipe_refs/generic_fns/relax_data.py?rev=7486&r1=7485&r2=7486&view=diff
==============================================================================
--- branches/pipe_refs/generic_fns/relax_data.py (original)
+++ branches/pipe_refs/generic_fns/relax_data.py Wed Oct  1 15:52:50 2008
@@ -33,7 +33,7 @@
 from generic_fns import pipes
 from relax_errors import RelaxError, RelaxNoRiError, RelaxNoSequenceError, 
RelaxNoSpinError, RelaxRiError
 from relax_io import extract_data, strip
-from specific_fns.setup import get_specific_fn
+import specific_fns
 
 
 def add_data_to_spin(spin=None, ri_labels=None, remap_table=None, 
frq_labels=None, frq=None, values=None, errors=None, sim=False):
@@ -186,7 +186,7 @@
     global_flag = 0
 
     # Specific back-calculate function setup.
-    back_calculate = get_specific_fn('back_calc', pipes.get_type())
+    back_calculate = specific_fns.setup.get_specific_fn('back_calc', 
pipes.get_type())
 
     # Loop over the spins.
     for spin in spin_loop():




Related Messages


Powered by MHonArc, Updated Wed Oct 01 16:20:01 2008