Author: bugman
Date: Tue Oct 21 17:03:49 2014
New Revision: 26328

URL: http://svn.gna.org/viewcvs/relax?rev=26328&view=rev
Log:
Modified the N_state_model.test_populations system test to test the grid search 
code paths.

This performs a grid search of one increment after minimisation, then switches 
to the 'fixed'
N-state model and performs a second grid search of one increment.  This now 
tests currently untested
code paths in the grid_search() API method behind the minimise.grid_search user 
function.  The test
demonstrates a bug in the N-state model which was not uncovered in the test 
suite.


Modified:
    trunk/test_suite/system_tests/scripts/n_state_model/populations.py

Modified: trunk/test_suite/system_tests/scripts/n_state_model/populations.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/scripts/n_state_model/populations.py?rev=26328&r1=26327&r2=26328&view=diff
==============================================================================
--- trunk/test_suite/system_tests/scripts/n_state_model/populations.py  
(original)
+++ trunk/test_suite/system_tests/scripts/n_state_model/populations.py  Tue Oct 
21 17:03:49 2014
@@ -114,5 +114,10 @@
 # Minimisation.
 self._execute_uf(uf_name='minimise.execute', min_algor='bfgs', max_iter=500)
 
+# Execute the grid search code path(s) for good measure.
+self._execute_uf(uf_name='minimise.grid_search', inc=1)
+self._execute_uf(uf_name='n_state_model.select_model', model='fixed')
+self._execute_uf(uf_name='minimise.grid_search', inc=1)
+
 # Write out a results file.
 self._execute_uf(uf_name='results.write', file='devnull', force=True)


_______________________________________________
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

Reply via email to