Author: bugman Date: Tue Jan 4 14:43:57 2011 New Revision: 12146 URL: http://svn.gna.org/viewcvs/relax?rev=12146&view=rev Log: The data pipe generic code now uses dep_check to see if the relaxation curve fitting is available. Modified: 1.3/generic_fns/pipes.py Modified: 1.3/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pipes.py?rev=12146&r1=12145&r2=12146&view=diff ============================================================================== --- 1.3/generic_fns/pipes.py (original) +++ 1.3/generic_fns/pipes.py Tue Jan 4 14:43:57 2011 @@ -29,14 +29,8 @@ # relax module imports. from data import Relax_data_store; ds = Relax_data_store() +from dep_check import C_module_exp_fn from relax_errors import RelaxError, RelaxNoPipeError, RelaxPipeError - -# Relaxation curve fitting modules compilation test. -C_module_exp_fn = True -try: - from maths_fns.relax_fit import func -except ImportError: - C_module_exp_fn = False # List of valid data pipe types.