Menu

SVN archive Commit Log


Commit Date  
[r23538] by tlinnet

Merged revisions 23505-23521,23532 via svnmerge from
svn+ssh://tlinnet@.../svn/relax/trunk

........
r23505 | bugman | 2014-05-28 11:58:29 +0200 (Wed, 28 May 2014) | 6 lines

Some more fixes for the User_functions.test_structure_rotate GUI test.

The open_dialog() method cannot be used, as it deletes the window at the end. Instead the
selection_win_show() and selection_win_data() method combination is used.
........
r23506 | bugman | 2014-05-28 12:04:15 +0200 (Wed, 28 May 2014) | 5 lines

Expanded the User_functions.test_structure_rotate GUI test.

This is to more extensively check the 'float_matrix' user function argument type in the GUI.
........
r23507 | tlinnet | 2014-05-28 12:04:27 +0200 (Wed, 28 May 2014) | 3 lines

Modified the dim dimensions to (None, 3) to allow the user to change number of points in the GUI.

This is for the user function dx.map.
........
r23508 | tlinnet | 2014-05-28 12:09:37 +0200 (Wed, 28 May 2014) | 5 lines

Modified the dim dimensions to (None, 4) to allow the user to change number of points in the GUI.

THe first dimension was used as a counter, the last 3 dimensions is for x,y,z position.

This is for the user function dx.map.
........
r23509 | bugman | 2014-05-28 12:15:10 +0200 (Wed, 28 May 2014) | 8 lines

Partial fix for bug #22100.

This is the bug report at https://gna.org/bugs/?22100, the rotation argument for the
structure.rotate user function cannot be changed in the GUI, as an AttributeError is raised.

The append_row() method call has been replaced by the correct add_element() call.
........
r23510 | bugman | 2014-05-28 14:01:13 +0200 (Wed, 28 May 2014) | 5 lines

Simplified the User_functions GUI tests.

The exec_uf_pipe_create() method has been created to simplify the data pipe creation in the tests.
........
r23511 | bugman | 2014-05-28 14:25:20 +0200 (Wed, 28 May 2014) | 7 lines

Expanded the User_functions.test_structure_rotate GUI test.

The rotation matrix argument checks for the Sequence_2D GUI element have been expanded to check that
setting nothing (blank element) returns nothing (None). The other checks have also been slightly
modified.
........
r23512 | bugman | 2014-05-28 14:36:46 +0200 (Wed, 28 May 2014) | 6 lines

Expanded the User_functions.test_structure_rotate GUI test to catch more problems.

Now the rotation matrix value in the user function window is set to a series of invalid values to
test if the Sequence_2D GUI element will handle the rubbish input. This is to mimic user errors.
........
r23513 | bugman | 2014-05-28 14:39:27 +0200 (Wed, 28 May 2014) | 7 lines

Bug fix for the Sequence_2D GUI element.

This is used for the user function windows in the GUI for setting lists of lists or matrices. The
GUI element GetValue() method will now return None if nothing is set. This prevents a list of lists
of None being added to the main user function window.
........
r23514 | tlinnet | 2014-05-28 15:05:21 +0200 (Wed, 28 May 2014) | 17 lines

Reverted r23508-23507 as the correct is dimensions (None, 3) for x,y,x positions.

The command used was:
svn merge -r23508:23507 .

.....
Modified the dim dimensions to (None, 4) to allow the user to change number of points in the GUI.

THe first dimension was used as a counter, the last 3 dimensions is for x,y,z position.

This is for the user function dx.map.

Modified:
trunk/user_functions/dx.py
.....
........
r23515 | bugman | 2014-05-28 15:32:39 +0200 (Wed, 28 May 2014) | 3 lines

Created the is_list() and is_list_of_lists() functions for the lib.check_types module.
........
r23516 | bugman | 2014-05-28 15:34:19 +0200 (Wed, 28 May 2014) | 3 lines

Copyright update.
........
r23517 | bugman | 2014-05-28 15:40:32 +0200 (Wed, 28 May 2014) | 6 lines

Clean up of the User_functions.test_structure_rotate GUI test.

The invalid value check is simpler and the Sequence_2D GUI object return value is now checked to be
None.
........
r23518 | bugman | 2014-05-28 15:45:36 +0200 (Wed, 28 May 2014) | 7 lines

Expanded the User_functions.test_structure_rotate GUI once more.

This time the setting of invalid values in the Sequence_2D element itself is now checked. For
example for the rotation matrix of the structure.rotate user function, if a matrix element is set to
a string, a NameError is raised.
........
r23519 | bugman | 2014-05-28 15:48:29 +0200 (Wed, 28 May 2014) | 7 lines

Fixes for the Sequence and Sequence_2D GUI elements for handling invalid input data.

These elements used by the user function windows previously raised all sorts of errors if the data
was not what they expected (lists or lists of lists respectively). These situations are now caught
and the input data is ignored, so blank Sequence and Sequence_2D elements are presented to the user.
........
r23520 | bugman | 2014-05-28 16:04:38 +0200 (Wed, 28 May 2014) | 7 lines

Bug fix for the Sequence_2D GUI element.

This is used for handling list of lists user function arguments in the user function GUI windows.
The setting of invalid values directly in the Sequence_2D GUI element is now detected. These values
are now replaced with None.
........
r23521 | bugman | 2014-05-28 16:32:01 +0200 (Wed, 28 May 2014) | 7 lines

Created the User_functions.test_dx_map GUI test.

This extensively checks the 'point' argument for the dx.map user function GUI window. This is to
catch bug #22102 (https://gna.org/bugs/?22102), the point argument of the dx.map user function being
incorrect in the GUI.
........
r23532 | bugman | 2014-05-28 17:00:48 +0200 (Wed, 28 May 2014) | 3 lines

Modified the User_functions.test_dx_map GUI test to catch another problem with the Sequence_2D element.
........

2014-05-28 15:33:45 Tree
[r23537] by bugman

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

........
r23509 | bugman | 2014-05-28 12:15:10 +0200 (Wed, 28 May 2014) | 8 lines

Partial fix for bug #22100.

This is the bug report at https://gna.org/bugs/?22100, the rotation argument for the
structure.rotate user function cannot be changed in the GUI, as an AttributeError is raised.

The append_row() method call has been replaced by the correct add_element() call.
........

2014-05-28 15:32:50 Tree
[r23536] by bugman

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

........
r23506 | bugman | 2014-05-28 12:04:15 +0200 (Wed, 28 May 2014) | 5 lines

Expanded the User_functions.test_structure_rotate GUI test.

This is to more extensively check the 'float_matrix' user function argument type in the GUI.
........
r23507 | tlinnet | 2014-05-28 12:04:27 +0200 (Wed, 28 May 2014) | 3 lines

Modified the dim dimensions to (None, 3) to allow the user to change number of points in the GUI.

This is for the user function dx.map.
........
r23508 | tlinnet | 2014-05-28 12:09:37 +0200 (Wed, 28 May 2014) | 5 lines

Modified the dim dimensions to (None, 4) to allow the user to change number of points in the GUI.

THe first dimension was used as a counter, the last 3 dimensions is for x,y,z position.

This is for the user function dx.map.
........

2014-05-28 15:32:30 Tree
[r23535] by bugman

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

........
r23505 | bugman | 2014-05-28 11:58:29 +0200 (Wed, 28 May 2014) | 6 lines

Some more fixes for the User_functions.test_structure_rotate GUI test.

The open_dialog() method cannot be used, as it deletes the window at the end. Instead the
selection_win_show() and selection_win_data() method combination is used.
........

2014-05-28 15:31:46 Tree
[r23534] by bugman

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

........
r23500 | bugman | 2014-05-28 11:31:19 +0200 (Wed, 28 May 2014) | 3 lines

Fixes for some big mistakes in the previous commit.
........

2014-05-28 15:30:41 Tree
[r23533] by bugman

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

........
r23499 | bugman | 2014-05-28 11:29:57 +0200 (Wed, 28 May 2014) | 3 lines

Modified the User_functions.test_structure_rotate GUI test to change and check the rotation matrix.
........

2014-05-28 15:30:02 Tree
[r23532] by bugman

Modified the User_functions.test_dx_map GUI test to catch another problem with the Sequence_2D element.

2014-05-28 15:00:48 Tree
[r23531] by tlinnet

Added 9th and 10th unit test case for model B14.

These tests are setup, to check how the function behaves under conditions of the grid-seach.

Two tests are setup, which either use the default lower or upper bound of the parameters for the grid search.

The return of the values are not checked, but the behaving of the function can be found when adding the --numpy-raise to run relax.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.

These tests are implemented to show bug cases related to:
Bug #22032: (bug #22032: Minimisation explodes when using Grid_INC=None) Minimisation explodes when using Grid_INC=None

The function can return nan or inf values, which are not handled by the minimisation algorithm, causing it to stop.
There needs to be mechanism to catch these cases.

2014-05-28 14:49:08 Tree
[r23530] by tlinnet

Added all the default values for the lower/upper bounds which is set for the parameters in the grid search.

This is added in the collected table of specific_analysis/relax_disp/parameter_object.py.
The values were extracted from: specific_analysis/relax_disp/optimisation.py in grid_search_setup().

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

In any function, these default values can get accessed by:

from specific_analyses.relax_disp.parameter_object import Relax_disp_params
PARAMS = Relax_disp_params()
PARAMS.default_value('pA')
PARAMS.grid_upper('pA')

This provides a good look-up table, when stress testing the different lib/dispersion/* functions.

2014-05-28 14:49:06 Tree
[r23529] by tlinnet

Added grid_upper to be handled in specific_analyses/parameter_object.py.

This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.
Discussed in post http://thread.gmane.org/gmane.science.nmr.relax.devel/5986.

2014-05-28 14:49:05 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.