Author: bugman Date: Tue Apr 15 22:55:51 2008 New Revision: 5739 URL: http://svn.gna.org/viewcvs/relax?rev=5739&view=rev Log: Reintroduced the modsel_pipe arg to the select() function. Modified: 1.3/generic_fns/model_selection.py Modified: 1.3/generic_fns/model_selection.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/model_selection.py?rev=5739&r1=5738&r2=5739&view=diff ============================================================================== --- 1.3/generic_fns/model_selection.py (original) +++ 1.3/generic_fns/model_selection.py Tue Apr 15 22:55:51 2008 @@ -97,19 +97,13 @@ return chi2 + k * log(n) -def select(method=None, pipes=None): +def select(method=None, modsel_pipe=None, pipes=None): """Model selection function.""" # Use all pipes (but the current). if pipes == None: # Get all data pipe names from the relax data store. pipes = relax_data_store.keys() - - # Remove the current data pipe. - pipes.remove(relax_data_store.current_pipe) - - # Store the current data pipe as the model selection run - modsel_pipe = relax_data_store.current_pipe # Select the model selection technique. if method == 'AIC':