svn+ssh://tlinnet@.../svn/relax/trunk
........
r23551 | bugman | 2014-05-28 18:11:40 +0200 (Wed, 28 May 2014) | 11 lines
Fix for bug #22102, the point argument of the dx.map user function failing in the GUI.
This is reported at https://gna.org/bugs/?22102.
The Sequence_2D GUI element used for all list of lists arguments in the user function GUI windows
now correctly handles variable length lists. The first column which shows a count of the elements
is now properly taken into account in the SetValue(), GetValue() and add_item() methods, via a new
self.offset variable. The self.variable_length variable has also been fixed so it is not
overwritten by the parent Sequence GUI element.
........
r23554 | bugman | 2014-05-28 18:24:57 +0200 (Wed, 28 May 2014) | 5 lines
Increased the width of the first column of the Sequence_2D GUI element for variable lists.
This is so the column title "Number" will fit.
........
r23555 | bugman | 2014-05-28 18:26:19 +0200 (Wed, 28 May 2014) | 6 lines
Added list titles for the dx.map user function point argument.
This is so that the Sequence_2D GUI element will have column titles of 'X coordinate',
'Y coordinate', and 'Z coordinate'.
........
r23556 | bugman | 2014-05-28 18:35:34 +0200 (Wed, 28 May 2014) | 3 lines
The self.variable_length flag is now used throughout the Sequence GUI element.
........
r23557 | bugman | 2014-05-28 18:38:29 +0200 (Wed, 28 May 2014) | 3 lines
The self.variable_length flag is used in one more spot in the Sequence_2D GUI element.
........
r23558 | bugman | 2014-05-28 18:59:17 +0200 (Wed, 28 May 2014) | 6 lines
Created the User_functions.test_structure_add_atom GUI test.
This is used to check the operation of the Sequence GUI element via the 'pos' argument of the
structure.add_atom user function. This is a list fixed to 3 elements.
........
r23559 | bugman | 2014-05-28 19:01:14 +0200 (Wed, 28 May 2014) | 5 lines
Titles are now handled and set in the Sequence GUI element.
The titles will replace the numbering of 1 onwards in the first column of the GUI element.
........
r23560 | bugman | 2014-05-28 19:07:38 +0200 (Wed, 28 May 2014) | 3 lines
Small fix for switched indices in the new User_functions.test_structure_add_atom GUI test.
........
r23561 | bugman | 2014-05-28 19:10:00 +0200 (Wed, 28 May 2014) | 6 lines
Modified the 'pos' argument of the structure.add_atom user function.
The argument is now a list of fixed length of 3, and it has the titles 'X coordinate',
'Y coordinate', and 'Z coordinate' which are shown in the GUI.
........
r23562 | bugman | 2014-05-28 19:12:21 +0200 (Wed, 28 May 2014) | 7 lines
Bug fixes for the Sequence GUI element used for lists in the user function windows.
Invalid values input into the Sequence GUI window are now ignored rather than raising different
types of error. And invalid input lists for fixed dimension arguments are also ignored. This
allows the User_functions.test_structure_add_atom GUI test to pass.
........
r23568 | bugman | 2014-05-28 19:21:59 +0200 (Wed, 28 May 2014) | 6 lines
Bug fix for the lib.arg_check.is_float_object() function.
The dim argument can sometimes be an integer rather than a tuple, but this was not handled by the
function. Now integer dim arguments are pre-converted to lists before performing all the checks.
........
r23571 | bugman | 2014-05-28 20:25:54 +0200 (Wed, 28 May 2014) | 8 lines
Created the User_functions.test_spectrum_read_intensities GUI test to catch bug #22105.
This is reported at https://gna.org/bugs/?22105.
The problem is that a single file name is split up into many files when the file selection button
is clicked, one for each character of the file name.
........
r23572 | bugman | 2014-05-28 20:31:19 +0200 (Wed, 28 May 2014) | 5 lines
Fix for the User_functions.test_spectrum_read_intensities GUI test.
A valid value was being checked as invalid.
........
r23574 | bugman | 2014-05-28 20:33:22 +0200 (Wed, 28 May 2014) | 7 lines
Fix for bug #22105 (https://gna.org/bugs/?22105).
This is the failure spectrum.read_intensities GUI user function whereby a file name is turned into
lists of characters. A few changes were made to allow the Selector_file_multiple GUI element to
operate correctly.
........
r23577 | bugman | 2014-05-28 22:22:24 +0200 (Wed, 28 May 2014) | 6 lines
Shifted all wildcards used in GUI file selection dialogs into the new user_functions.wildcard module.
These have now all been standardised, and expanded to include more capitalisation combinations and
to include more *.* options.
........
r23578 | bugman | 2014-05-28 22:39:51 +0200 (Wed, 28 May 2014) | 5 lines
Created a file selection wildcard for use in the GUI for selecting peak lists.
This is used in the four user functions which read peak lists.
........
r23579 | bugman | 2014-05-28 22:42:43 +0200 (Wed, 28 May 2014) | 3 lines
Changed all *.* GUI file selection wildcards to *.
........