Author: tlinnet Date: Tue Aug 12 10:55:01 2014 New Revision: 24994 URL: http://svn.gna.org/viewcvs/relax?rev=24994&view=rev Log: Improved the printing of systemtest Relax_disp.test_r1rho_kjaergaard_missing_r1. sr #3135(https://gna.org/support/?3135): Optimisation of the R1 relaxation rate for the off-resonance R1rho relaxation dispersion models. Modified: branches/R1_fitting/test_suite/system_tests/relax_disp.py Modified: branches/R1_fitting/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/R1_fitting/test_suite/system_tests/relax_disp.py?rev=24994&r1=24993&r2=24994&view=diff ============================================================================== --- branches/R1_fitting/test_suite/system_tests/relax_disp.py (original) +++ branches/R1_fitting/test_suite/system_tests/relax_disp.py Tue Aug 12 10:55:01 2014 @@ -5283,7 +5283,7 @@ MODELS = [MODEL_R2EFF, MODEL_NOREX_R1RHO_FIT_R1, MODEL_DPL94_FIT_R1, MODEL_TP02_FIT_R1, MODEL_TAP03_FIT_R1, MODEL_MP05_FIT_R1, MODEL_NS_R1RHO_2SITE_FIT_R1] # The grid search size (the number of increments per dimension). - GRID_INC = 4 + GRID_INC = 10 # The number of Monte Carlo simulations to be used for error analysis at the end of the analysis. MC_NUM = 3 @@ -5362,6 +5362,23 @@ # Print value. print("%-10s %-6s %-6s %3.3f" % ("Parameter:", param, "Value:", value)) + + # Print the final pipe. + self.interpreter.pipe.switch(pipe_name='%s - relax_disp' % ('final')) + print("\nFinal pipe") + + # Loop over the spins. + for cur_spin, mol_name, resi, resn, spin_id in spin_loop(full_info=True, return_id=True, skip_desel=True): + # Generate spin string. + spin_string = generate_spin_string(spin=cur_spin, mol_name=mol_name, res_num=resi, res_name=resn) + + # Loop over the parameters. + print("Optimised model for spin: %s" % (spin_string)) + param = 'model' + + # Get the value. + value = getattr(cur_spin, param) + print("%-10s %-6s %-6s %6s" % ("Parameter:", param, "Value:", value)) def test_r2eff_read(self):