Menu

SVN archive Commit Log


Commit Date  
[r26076] by bugman

Merged revisions 26058-26062 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26058 | bugman | 2014-09-26 14:38:48 +0200 (Fri, 26 Sep 2014) | 6 lines

Fixes for the lib.checks.Check object.

The __call__() method keyword arguments **kargs needs to be processed inside the method to strip out
the escalate argument.
........
r26059 | bugman | 2014-09-26 14:45:05 +0200 (Fri, 26 Sep 2014) | 5 lines

The default value of the escalate argument of the Check.__call__() method is now 2.

This will cause the calls to the check_*() function/objects to default to raising RelaxErrors.
........
r26060 | bugman | 2014-09-26 15:06:55 +0200 (Fri, 26 Sep 2014) | 16 lines

Reverted r26053, as this is no longer the case.

The command used was:
svn merge -r26053:r26052 .

.....
r26053 | bugman | 2014-09-26 11:44:00 +0200 (Fri, 26 Sep 2014) | 5 lines
Changed paths:
M /trunk/test_suite/system_tests/bmrb.py

Updated the Bmrb.test_bug_22703_display_empty system/GUI test.

The RelaxError type is now different.
.....
........
r26061 | bugman | 2014-09-26 15:17:39 +0200 (Fri, 26 Sep 2014) | 6 lines

Changed the behaviour of the lib.checks.Check object again.

This time the registered function is stored rather than converted into a class instance method.
That way the check_*() function-like objects do not need to accept the unused 'self' argument.
........
r26062 | bugman | 2014-09-26 15:29:07 +0200 (Fri, 26 Sep 2014) | 5 lines

The data pipe testing function has been converted to the strategy design pattern of the Check object.

The function pipe_control.pipes.test() has also been renamed to check_pipe().
........

2014-09-26 17:19:44 Tree
[r26075] by bugman

Merged revisions 26057 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26057 | tlinnet | 2014-09-26 13:06:40 +0200 (Fri, 26 Sep 2014) | 3 lines

Implemented the writing out of parameter values between comparison of NI level.

Task #7826 (https://gna.org/task/index.php?7826): Write an python class for the repeated analysis of dispersion data.
........

2014-09-26 17:14:41 Tree
[r26074] by bugman

Merged revisions 26044-26046,26048-26056 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26044 | bugman | 2014-09-26 09:52:37 +0200 (Fri, 26 Sep 2014) | 7 lines

Created the pipe_control.spectrometer.check_setup() function.

This follows the design on the wiki page http://wiki.nmr-relax.com/Relax_source_design.

This is for checking if spectrometer information has been set up.
........
r26045 | bugman | 2014-09-26 09:55:10 +0200 (Fri, 26 Sep 2014) | 3 lines

Created the RelaxNoFrqWarning warning class for warning that no spectrometer information is present.
........
r26046 | bugman | 2014-09-26 10:00:58 +0200 (Fri, 26 Sep 2014) | 5 lines

Renamed the pipe_control.spectrometer.check_setup() function to check_spectrometer_setup().

This is so it can be used without confusion outside of the module.
........
r26048 | bugman | 2014-09-26 10:05:42 +0200 (Fri, 26 Sep 2014) | 3 lines

Fix for a broken elif block in the new pipe_control.spectrometer.check_spectrometer_setup() function.
........
r26049 | bugman | 2014-09-26 10:06:58 +0200 (Fri, 26 Sep 2014) | 5 lines

The model-free bmrb_write() API method now checks for spectrometer information.

This is via a call to the pipe_control.spectrometer.check_spectrometer_setup() function.
........
r26050 | bugman | 2014-09-26 10:09:18 +0200 (Fri, 26 Sep 2014) | 3 lines

Modified the Bmrb.test_bug_22703_display_empty system/GUI test to catch the RelaxNoFrqError.
........
r26051 | bugman | 2014-09-26 11:31:29 +0200 (Fri, 26 Sep 2014) | 6 lines

Created a special Check class based on the strategy design pattern.

This is in the new lib.checks module. The class will be used to simplify and unify all of the
check_*() functions in the pipe_control and specific_analyses packages.
........
r26052 | bugman | 2014-09-26 11:43:15 +0200 (Fri, 26 Sep 2014) | 6 lines

Converted the pipe_control.spectrometer.check_*() functions to the strategy design pattern.

These are now passed into the lib.checks.Check object, and the original functions are now instances
of this class.
........
r26053 | bugman | 2014-09-26 11:44:00 +0200 (Fri, 26 Sep 2014) | 5 lines

Updated the Bmrb.test_bug_22703_display_empty system/GUI test.

The RelaxError type is now different.
........
r26054 | bugman | 2014-09-26 12:15:23 +0200 (Fri, 26 Sep 2014) | 3 lines

Alphabetical ordering of all functions in the pipe_control.pipes module.
........
r26055 | bugman | 2014-09-26 12:40:16 +0200 (Fri, 26 Sep 2014) | 9 lines

Changed the design of the Check object in lib.checks.

The design of the checking function to call has been modified - it should now return either None if
the check passes or an instantiated RelaxError object if not. This is then used to determine if the
__call__() method should return True (when None is received). Otherwise if escalate is set to 1,
the text from the RelaxError object is sent into a RelaxWarning and False is returned. And if
escalate is set to 2, then the error object is simply raised.
........
r26056 | bugman | 2014-09-26 12:41:06 +0200 (Fri, 26 Sep 2014) | 3 lines

Updated the pipe_control.spectrometer.check_*_func() functions to use the new design.
........

2014-09-26 17:09:29 Tree
[r26073] by bugman

Merged revisions 26043 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26043 | bugman | 2014-09-26 09:37:41 +0200 (Fri, 26 Sep 2014) | 9 lines

Created the Bmrb.test_bug_22703_display_empty system and GUI test.

This system test catches bug #22703 (https://gna.org/bugs/?22703), the failure of the bmrb.display
user function with an AttributeError when no data is present.

It is simultaneously a system and GUI test, as the GUI test class inherits directly from the system
test class.
........

2014-09-26 16:59:50 Tree
[r26072] by bugman

Implemented the cdp.exp_info.from_xml() method to correctly restore the experimental info structure.

This fixes bug #22704 (https://gna.org/bugs/?22704), the corrupted relax state files after setting
the relax references via the bmrb.software, bmrb.display, or bmrb.write user functions.

This custom ExpInfo.from_xml() method is required to properly recreate the software, script and
citation list data structures of the cdp.exp_info data structure, as these are special RelaxListType
objects populated by Element objects (both from data_store.data_classes).

2014-09-26 16:43:09 Tree
[r26071] by bugman

Fix for the cdp.exp_info.software data structure setup.

This is a partial fix for bug #22704 (https://gna.org/bugs/?22704), the corrupted relax state files
after setting the relax references via the bmrb.software, bmrb.display, or bmrb.write user
functions.

The Element data container name was being replaced by the software name, making it impossible to
restore from the XML.

2014-09-26 16:29:26 Tree
[r26070] by bugman

Uncommented some checks in the Bmrb.test_bug_22704_corrupted_state_file system test.

2014-09-26 16:24:44 Tree
[r26069] by bugman

Added checks to the Bmrb.test_bug_22704_corrupted_state_file system test.

This is to see if the cdp.exp_info data structure has been correctly restored from the save file.

2014-09-26 16:19:27 Tree
[r26068] by bugman

Fix for the experimental information data pipe object when converting to XML state and results files.

This is a partial fix for bug #22704 (https://gna.org/bugs/?22704), the corrupted relax state files
after setting the relax references via the bmrb.software, bmrb.display, or bmrb.write user
functions.

The names and descriptions for the software, citation and script list objects were incorrectly set.
These have been fixed so that the name of the data structure and the real description is present in
the XML state or results file instead of <relax_list desc='relax list container'>.

2014-09-26 15:44:48 Tree
[r26067] by bugman

Fix for the experimental information data pipe object when converting to XML state and results files.

This is a partial fix for bug #22704 (https://gna.org/bugs/?22704), the corrupted relax state files
after setting the relax references via the bmrb.software, bmrb.display, or bmrb.write user
functions.

The names and descriptions for the software, citation and script list objects were incorrectly set.
These have been fixed so that the name of the data structure and the real description is present in
the XML state or results file instead of <relax_list desc='relax list container'>.

2014-09-26 15:34:15 Tree
Older >
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.