Author: bugman Date: Mon Feb 24 16:33:08 2014 New Revision: 22289 URL: http://svn.gna.org/viewcvs/relax?rev=22289&view=rev Log: Created the Relax_disp.test_bug_21715_clustered_indexerror system test. This is to catch bug #21715 (https://gna.org/bugs/?21715), the failure of the relaxation dispersion auto-analysis when running a clustered analysis due to an IndexError during minimisation. Added: trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/ trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/ trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/No Rex/ trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/No Rex/results.bz2 (with props) trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/state.bz2 (with props) Modified: trunk/test_suite/system_tests/relax_disp.py Added: trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/No Rex/results.bz2 URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/No%20Rex/results.bz2?rev=22289&view=auto ============================================================================== Binary file - no diff available. Propchange: trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/non_clustered/No Rex/results.bz2 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/state.bz2 URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/state.bz2?rev=22289&view=auto ============================================================================== Binary file - no diff available. Propchange: trunk/test_suite/shared_data/dispersion/bug_21715_clustered_indexerror/state.bz2 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: trunk/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/relax_disp.py?rev=22289&r1=22288&r2=22289&view=diff ============================================================================== --- trunk/test_suite/system_tests/relax_disp.py (original) +++ trunk/test_suite/system_tests/relax_disp.py Mon Feb 24 16:33:08 2014 @@ -295,6 +295,23 @@ relax_disp.Relax_disp.opt_func_tol = 1e-5 relax_disp.Relax_disp.opt_max_iterations = 1000 relax_disp.Relax_disp(pipe_name="compare_128_FT_R2eff", pipe_bundle="cpmg_disp_sod1d90a", results_dir=self.tmpdir, models=['R2eff'], grid_inc=3, mc_sim_num=5, modsel='AIC', pre_run_dir=None, insignificance=1.0, numeric_only=False, mc_sim_all_models=False, eliminate=True) + + + def test_bug_21715_clustered_indexerror(self): + """Catch U{bug #21715<https://gna.org/bugs/?21715>}, the failure of a clustered auto-analysis due to an IndexError.""" + + # Clear the data store. + self.interpreter.reset() + + # Load the state. + state = status.install_path + sep+'test_suite'+sep+'shared_data'+sep+'dispersion'+sep+'bug_21715_clustered_indexerror'+sep+'state.bz2' + self.interpreter.state.load(state, force=True) + + # Execute the auto-analysis (fast). + pre_run_dir = status.install_path + sep+'test_suite'+sep+'shared_data'+sep+'dispersion'+sep+'bug_21715_clustered_indexerror'+sep+'non_clustered' + relax_disp.Relax_disp.opt_func_tol = 1e-5 + relax_disp.Relax_disp.opt_max_iterations = 1000 + relax_disp.Relax_disp(pipe_name='origin - relax_disp (Sun Feb 23 19:36:51 2014)', pipe_bundle='relax_disp (Sun Feb 23 19:36:51 2014)', results_dir=self.tmpdir, models=['R2eff', 'No Rex'], grid_inc=11, mc_sim_num=2, modsel='AIC', pre_run_dir=pre_run_dir, insignificance=1.0, numeric_only=True, mc_sim_all_models=False, eliminate=True) def test_curve_type_cpmg_fixed_time(self):