Author: bugman Date: Fri Feb 1 11:19:09 2013 New Revision: 18328 URL: http://svn.gna.org/viewcvs/relax?rev=18328&view=rev Log: Created the Mf.test_bug_20464_missing_ri_data system test to catch bug #20464. The data comes from the bug report submitted by Stanislava Panova (stpanova att gmail dot com) at https://gna.org/bugs/?20464. Added: trunk/test_suite/shared_data/saved_states/bug_20464_mf_missing_ri_data.bz2 (with props) trunk/test_suite/system_tests/scripts/model_free/bug_20464_missing_ri_data.py Modified: trunk/test_suite/system_tests/model_free.py Added: trunk/test_suite/shared_data/saved_states/bug_20464_mf_missing_ri_data.bz2 URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/saved_states/bug_20464_mf_missing_ri_data.bz2?rev=18328&view=auto ============================================================================== Binary file - no diff available. Propchange: trunk/test_suite/shared_data/saved_states/bug_20464_mf_missing_ri_data.bz2 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: trunk/test_suite/system_tests/model_free.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/model_free.py?rev=18328&r1=18327&r2=18328&view=diff ============================================================================== --- trunk/test_suite/system_tests/model_free.py (original) +++ trunk/test_suite/system_tests/model_free.py Fri Feb 1 11:19:09 2013 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2006-2012 Edward d'Auvergne # +# Copyright (C) 2006-2013 Edward d'Auvergne # # # # This file is part of the program relax (http://www.nmr-relax.com). # # # @@ -281,6 +281,16 @@ # Execute the script. self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'model_free'+sep+'bug_20213_asn_sidechain.py') + + + def test_bug_20464_missing_ri_data(self): + """Bug #20464 catch (https://gna.org/bugs/?20464), the failure due to missing relaxation data.""" + + # Clear the data store. + self.interpreter.reset() + + # Execute the script. + self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'model_free'+sep+'bug_20464_missing_ri_data.py') def test_create_m4(self): Added: trunk/test_suite/system_tests/scripts/model_free/bug_20464_missing_ri_data.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/scripts/model_free/bug_20464_missing_ri_data.py?rev=18328&view=auto ============================================================================== --- trunk/test_suite/system_tests/scripts/model_free/bug_20464_missing_ri_data.py (added) +++ trunk/test_suite/system_tests/scripts/model_free/bug_20464_missing_ri_data.py Fri Feb 1 11:19:09 2013 @@ -1,0 +1,39 @@ +# Script for catching bug #20464, the failure due to missing relaxation data (https://gna.org/bugs/?20464). + + +# Python module imports. +from os import sep + +# relax module imports. +from auto_analyses.dauvergne_protocol import dAuvergne_protocol +from status import Status; status = Status() + + +# The diffusion model. +DIFF_MODEL = 'local_tm' + +# The model-free models. Do not change these unless absolutely necessary, the protocol is likely to fail if these are changed. +MF_MODELS = ['m0', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9'] +LOCAL_TM_MODELS = ['tm0', 'tm1', 'tm2', 'tm3', 'tm4', 'tm5', 'tm6', 'tm7', 'tm8', 'tm9'] + +# The grid search size (the number of increments per dimension). +GRID_INC = 11 + +# The optimisation technique. +MIN_ALGOR = 'newton' + +# The number of Monte Carlo simulations to be used for error analysis at the end of the analysis. +MC_NUM = 500 + +# Automatic looping over all rounds until convergence (must be a boolean value of True or False). +CONV_LOOP = True + + +# The data path. +data_path = status.install_path + sep + 'test_suite' + sep + 'shared_data' + sep + 'saved_states' + +# Load the state. +state.load('bug_20464_mf_missing_ri_data', dir=data_path) + +# Do not change! +dAuvergne_protocol(pipe_name='origin - mf (Thu Jan 31 10:06:25 2013)', pipe_bundle='mf (Thu Jan 31 10:06:25 2013)', diff_model=DIFF_MODEL, mf_models=MF_MODELS, local_tm_models=LOCAL_TM_MODELS, grid_inc=GRID_INC, min_algor=MIN_ALGOR, mc_sim_num=MC_NUM, conv_loop=CONV_LOOP)