Author: bugman Date: Thu Feb 5 17:45:26 2015 New Revision: 27554 URL: http://svn.gna.org/viewcvs/relax?rev=27554&view=rev Log: Fix for the statistics.model user function backend. The API methods are now called with the model_info argument set to a keyword argument so that it is always passed in as the correct argument. Modified: trunk/pipe_control/statistics.py Modified: trunk/pipe_control/statistics.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/statistics.py?rev=27554&r1=27553&r2=27554&view=diff ============================================================================== --- trunk/pipe_control/statistics.py (original) +++ trunk/pipe_control/statistics.py Thu Feb 5 17:45:26 2015 @@ -44,13 +44,13 @@ print("\nStoring the model statistics.") for model_info in api.model_loop(): # Printout. - api.print_model_title(model_info) + api.print_model_title(model_info=model_info) # Get the model statistics. - k, n, chi2 = api.model_statistics(model_info) + k, n, chi2 = api.model_statistics(model_info=model_info) # The model container. - container = api.get_model_container(model_info) + container = api.get_model_container(model_info=model_info) # Store the values. container.chi2 = chi2