Author: bugman Date: Wed Oct 1 16:00:43 2008 New Revision: 7487 URL: http://svn.gna.org/viewcvs/relax?rev=7487&view=rev Log: Fixes for the calls to the pipes functions. Modified: branches/pipe_refs/generic_fns/model_selection.py Modified: branches/pipe_refs/generic_fns/model_selection.py URL: http://svn.gna.org/viewcvs/relax/branches/pipe_refs/generic_fns/model_selection.py?rev=7487&r1=7486&r2=7487&view=diff ============================================================================== --- branches/pipe_refs/generic_fns/model_selection.py (original) +++ branches/pipe_refs/generic_fns/model_selection.py Wed Oct 1 16:00:43 2008 @@ -27,7 +27,7 @@ from math import log # relax module imports. -from pipes import get_type, switch +from pipes import get_type, has_pipe, pipe_names, switch from relax_errors import RelaxError, RelaxPipeError from specific_fns.setup import get_specific_fn @@ -115,13 +115,13 @@ """ # Test if the pipe already exists. - if pipes.has_pipe(modsel_pipe): + if has_pipe(modsel_pipe): raise RelaxPipeError, modsel_pipe # Use all pipes. if pipes == None: # Get all data pipe names from the relax data store. - pipes = pipes.pipe_names() + pipes = pipe_names() # Select the model selection technique. if method == 'AIC':