Hi Troels,

Remember that whereever you modify the relax data store in the test
suite, that it must be undone in a tearDown() method.  So here you
would need 'del ds.MC_NUM' in the tearDown() method.  You will often
not see this because the resetting of the relax data store is used
instead (also in the tearDown() method, see
test_suite/system_tests/base_classes.py).  There may be cases in the
test suite where objects are not removed from the relax data store,
because a custom tearDown() method is used, but this would be
accidental.  Such objects are very dangerous.  Just something to keep
in mind.

Cheers,

Edward



On 2 May 2014 13:14,  <[email protected]> wrote:
> Author: tlinnet
> Date: Fri May  2 13:14:15 2014
> New Revision: 22923
>
> URL: http://svn.gna.org/viewcvs/relax?rev=22923&view=rev
> Log:
> Small fix in cpmg_synthetic script.
>
> Modified:
>     trunk/test_suite/system_tests/scripts/relax_disp/cpmg_synthetic.py
>
> Modified: trunk/test_suite/system_tests/scripts/relax_disp/cpmg_synthetic.py
> URL: 
> http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/scripts/relax_disp/cpmg_synthetic.py?rev=22923&r1=22922&r2=22923&view=diff
> ==============================================================================
> --- trunk/test_suite/system_tests/scripts/relax_disp/cpmg_synthetic.py  
> (original)
> +++ trunk/test_suite/system_tests/scripts/relax_disp/cpmg_synthetic.py  Fri 
> May  2 13:14:15 2014
> @@ -93,7 +93,7 @@
>
>  # The number of Monte Carlo simulations to be used for the error analyses.
>  if not hasattr(ds, 'MC_NUM'):
> -    ds.GRID_INC = 3
> +    ds.MC_NUM = 3
>
>  # Set up the data pipe.
>  #######################
>
>
> _______________________________________________
> relax (http://www.nmr-relax.com)
>
> This is the relax-commits mailing list
> [email protected]
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-commits

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to