Menu

Commit [r4336]  Maximize  Restore  History

Merged revisions 4302-4335 via svnmerge from

svn+ssh://bugman@.../svn/relax/1.3

........
r4302 | bugman | 2008-01-04 11:19:35 +0100 (Fri, 04 Jan 2008) | 3 lines

Added 14 unit tests for the setting of relaxation curve fitting parameter values.
........
r4303 | bugman | 2008-01-04 11:22:24 +0100 (Fri, 04 Jan 2008) | 3 lines

Renamed all the previous unit tests from 'test_set_relax_data_xxx' to 'test_set_relax_fit_xxx'.
........
r4304 | bugman | 2008-01-04 11:26:36 +0100 (Fri, 04 Jan 2008) | 3 lines

Converted specific_fns.relax_fit.data_init() to the new relax design.
........
r4305 | bugman | 2008-01-04 11:28:07 +0100 (Fri, 04 Jan 2008) | 5 lines

Bug fix for the specific_fns.relax_fit.default_value() function.

The Iinf parameter was being checked for as 'te'!!!
........
r4307 | bugman | 2008-01-04 11:47:21 +0100 (Fri, 04 Jan 2008) | 7 lines

Modified the structure of the model-free classes containing the model-free specific functions.

One parent, but empty, class called Model_free now inherits all model-free specific functions from
the other classes. The Molmol specific class has also been shifted into its own module as the
initial step for splitting up the original, massive 'model_free.py' file.
........
r4308 | bugman | 2008-01-04 11:51:04 +0100 (Fri, 04 Jan 2008) | 3 lines

Prepended 'molmol_' to the start of all the Molmol functions.
........
r4309 | bugman | 2008-01-04 13:53:24 +0100 (Fri, 04 Jan 2008) | 3 lines

Updated all of the model-free specific Molmol macro function to the new relax design.
........
r4310 | bugman | 2008-01-04 13:56:47 +0100 (Fri, 04 Jan 2008) | 3 lines

Converted the module from being dependent on Numeric to using numpy.
........
r4311 | bugman | 2008-01-04 13:57:34 +0100 (Fri, 04 Jan 2008) | 3 lines

Updated 2 comments relating to the change from Numeric to numpy.
........
r4312 | bugman | 2008-01-04 14:06:10 +0100 (Fri, 04 Jan 2008) | 3 lines

Converted all the class methods of the colour module to functions.
........
r4313 | bugman | 2008-01-04 14:08:24 +0100 (Fri, 04 Jan 2008) | 3 lines

Removed all of the imports of the now non-existant 'Colour' class.
........
r4314 | bugman | 2008-01-04 14:10:10 +0100 (Fri, 04 Jan 2008) | 5 lines

Fixed the appending of the molmol_classic_style docstring.

The function used to be called simply classic.
........
r4315 | bugman | 2008-01-04 14:15:01 +0100 (Fri, 04 Jan 2008) | 3 lines

Updated the copyright notice and added some comments.
........
r4316 | bugman | 2008-01-04 14:15:56 +0100 (Fri, 04 Jan 2008) | 3 lines

Updated the copyright notice and added some comments.
........
r4317 | bugman | 2008-01-04 14:16:47 +0100 (Fri, 04 Jan 2008) | 3 lines

Updated the copyright notice by adding the date the file was originally created.
........
r4318 | bugman | 2008-01-04 14:18:38 +0100 (Fri, 04 Jan 2008) | 3 lines

Removed the import of the now non-existant 'Colour' class.
........
r4319 | bugman | 2008-01-04 14:32:41 +0100 (Fri, 04 Jan 2008) | 3 lines

Added the command line option --system-tests to run solely the relax system/functional tests.
........
r4320 | bugman | 2008-01-04 14:34:59 +0100 (Fri, 04 Jan 2008) | 5 lines

Changed the --unit-test command line option to --unit-tests.

The old option still works thanks to the optparse package.
........
r4321 | bugman | 2008-01-04 14:42:16 +0100 (Fri, 04 Jan 2008) | 5 lines

Bug fix for running solely the system/functional tests.

The interpeter, which is essential for the tests, is now loaded.
........
r4322 | bugman | 2008-01-04 15:34:14 +0100 (Fri, 04 Jan 2008) | 6 lines

A temporary fix for catching stdout during the execution of all unit tests.

The aim is to eventually have stdout collected for each test run and appended to the failure or
error message if the test was unsuccessful.
........
r4323 | bugman | 2008-01-04 16:04:53 +0100 (Fri, 04 Jan 2008) | 5 lines

Update for the generic_fns.sequence.display() function.

Now the function operates correctly with IO redirection of stdout.
........
r4324 | bugman | 2008-01-04 16:09:52 +0100 (Fri, 04 Jan 2008) | 3 lines

Replaced the insecure os.tempnam() with tempfile.mktemp().
........
r4325 | bugman | 2008-01-04 17:26:07 +0100 (Fri, 04 Jan 2008) | 6 lines

Created the framework for a new unittest runner to replace TextTestRunner.

The point it to capture STDOUT during each test and only print it in the reports for failures and
errors.
........
r4326 | bugman | 2008-01-04 17:33:45 +0100 (Fri, 04 Jan 2008) | 5 lines

Shifted the IO redirection into the RelaxTestRunner.run() method.

This is a temporary change.
........
r4327 | bugman | 2008-01-04 17:39:20 +0100 (Fri, 04 Jan 2008) | 5 lines

Created the _RelaxTestResult class as a replacement for _TextTestResult.

This is where the capture of STDOUT should occur.
........
r4328 | bugman | 2008-01-04 17:44:32 +0100 (Fri, 04 Jan 2008) | 5 lines

Shifted the STDOUT redirection into the startTest() and stopTest() methods.

These methods are overrides for those in TestResult and _TextTestResult.
........
r4329 | bugman | 2008-01-04 17:45:21 +0100 (Fri, 04 Jan 2008) | 3 lines

Restored the run() method accidentally renamed to run2() in the last commit.
........
r4330 | bugman | 2008-01-04 17:49:45 +0100 (Fri, 04 Jan 2008) | 3 lines

Added a deliberate unit test failure for implementing the new RelaxTestRunner code.
........
r4331 | bugman | 2008-01-04 17:50:17 +0100 (Fri, 04 Jan 2008) | 3 lines

The normal startTest() code is now run as well.
........
r4332 | bugman | 2008-01-04 18:22:42 +0100 (Fri, 04 Jan 2008) | 3 lines

Completed the STDOUT capture and prepending by added an override for _TextTestResult.addError().
........
r4333 | bugman | 2008-01-04 18:24:29 +0100 (Fri, 04 Jan 2008) | 3 lines

Removed the RelaxTestRunner.run() method as it was doing nothing.
........
r4334 | bugman | 2008-01-04 18:28:05 +0100 (Fri, 04 Jan 2008) | 6 lines

Reverted the debugging code of r4330.

The command used was:
svn merge -r4330:4329 svn+ssh://bugman@.../svn/relax/1.3
........
r4335 | bugman | 2008-01-04 18:30:19 +0100 (Fri, 04 Jan 2008) | 3 lines

The RelaxTestRunner is used now with the --unit-tests command line option.
........

bugman 2008-01-04

copied /1.3/specific_fns/model_free/molmol.py -> /branches/N_state_model/specific_fns/model_free/molmol.py
copied /1.3/test_suite/relax_test_runner.py -> /branches/N_state_model/test_suite/relax_test_runner.py
changed /branches/N_state_model
changed /branches/N_state_model/colour.py
changed /branches/N_state_model/generic_fns/sequence.py
changed /branches/N_state_model/prompt/molmol.py
changed /branches/N_state_model/prompt/pymol.py
changed /branches/N_state_model/relax
changed /branches/N_state_model/specific_fns/model_free/__init__.py
changed /branches/N_state_model/specific_fns/model_free/model_free.py
changed /branches/N_state_model/specific_fns/relax_fit.py
changed /branches/N_state_model/test_suite/runner.py
changed /branches/N_state_model/test_suite/unit_tests/sequence_testing_base.py
changed /branches/N_state_model/test_suite/unit_tests/unit_test_runner.py
changed /branches/N_state_model/test_suite/unit_tests/value_testing_base.py
/branches/N_state_model/colour.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/generic_fns/sequence.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/prompt/molmol.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/prompt/pymol.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/relax Diff Switch to side-by-side view
Loading...
/branches/N_state_model/specific_fns/model_free/__init__.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/specific_fns/model_free/model_free.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/specific_fns/relax_fit.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/test_suite/runner.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/test_suite/unit_tests/sequence_testing_base.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/test_suite/unit_tests/unit_test_runner.py Diff Switch to side-by-side view
Loading...
/branches/N_state_model/test_suite/unit_tests/value_testing_base.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.