mailr26328 - /trunk/test_suite/system_tests/scripts/n_state_model/populations.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 21, 2014 - 17:03:
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)




Related Messages


Powered by MHonArc, Updated Tue Oct 21 18:00:03 2014