Author: bugman Date: Mon Oct 6 22:50:26 2008 New Revision: 7535 URL: http://svn.gna.org/viewcvs/relax?rev=7535&view=rev Log: Fix for the loading of a version 1.2 model-free results file. The 'select_sim' array was not being set as a list of booleans but rather an numpy array of bools. Modified: 1.3/specific_fns/model_free/results.py Modified: 1.3/specific_fns/model_free/results.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/results.py?rev=7535&r1=7534&r2=7535&view=diff ============================================================================== --- 1.3/specific_fns/model_free/results.py (original) +++ 1.3/specific_fns/model_free/results.py Mon Oct 6 22:50:26 2008 @@ -735,8 +735,9 @@ # Set up the simulations. if len(sims): - # Convert the selected simulation array of arrays into a Numeric matrix and transpose it. + # Convert the selected simulation array of arrays into a Numeric matrix, transpose it, then convert back to a Python list. all_select_sim = transpose(array(all_select_sim)) + all_select_sim = all_select_sim.tolist() # Set up the Monte Carlo simulations. generic_fns.monte_carlo.setup(number=len(sims), all_select_sim=all_select_sim)