Menu

SVN archive Commit Log


Commit Date  
[r22235] by bugman

Added a 'Delete' button to the sequence input GUI window.

This is to match the multiple file selection GUI window. The button allows the user to delete the
last item from the list. So if 'Add' has been clicked too many times, the user does not have to
start again from scratch by clicking on 'Delete all'.

2014-02-21 12:49:13 Tree
[r22234] by bugman

Modified the GUI window for inputting sequence data to include item numbers.

An non-editable initial column with the number of each item has been added. This is to help the
user when, for example, the items of one sequence element should match another (for example in the
spectrum.read_intensities user function where multiple file names should match multiple spectrum
IDs).

2014-02-21 10:40:22 Tree
[r22233] by bugman

Fixes for the unit tests of the spectrum.read_intensities user function.

A number of checks were not correctly set up, and the recent changes caused others to now fail.

2014-02-21 10:21:25 Tree
[r22232] by bugman

Created the test_loop_exp_frq() dispersion unit test.

This checks the operation of the loop_exp_frq() function from the module
specific_analyses.relax_disp.disp_data. It uses the data attached to the bug report at
https://gna.org/bugs/?21665.

2014-02-21 09:35:04 Tree
[r22231] by bugman

Renamed the test_loop_exp_time() dispersion unit test to test_loop_exp_frq_offset_point_time().

This is for the specific_analyses.relax_disp.disp_data.Test_disp_data.test_loop_exp_frq_offset_point_time()
unit test. The name better reflects the function being tested.

2014-02-21 09:22:46 Tree
[r22230] by bugman

Small spacing fix.

2014-02-21 09:00:22 Tree
[r22229] by bugman

Improved the behaviour of the multiple file selection GUI window.

The RelaxFileDialog GUI element is now initialised when the file selection button is clicked rather
than in the __init__() method. The result of this change is that the current working directory is
dynamically changed in the RelaxFileDialog, hence if the directory is changed in one file selection
element, it will look like it is changed in all.

2014-02-21 09:00:01 Tree
[r22228] by bugman

Added a 'Delete' button to the new multiple file selection GUI window.

This simply deletes the last item in the list. This will be useful if the user clicks on the 'Add'
button too many times - instead of clicking 'Delete all' and having to re-select all files, now the
last element can be removed.

2014-02-21 08:38:48 Tree
[r22227] by bugman

Modification of the new multiple file selection GUI element.

The multiple file selection window now shows the index (plus one) of each file selection element at
the front of that element. This way the user can easily see how many file elements there are and
can match file names to numbers. This will help in making sure that the file names and spectrum ID
elements correspond to each other.

2014-02-21 08:29:43 Tree
[r22226] by bugman

Implemented the GUI element for loading multiple files.

This follows from the thread http://thread.gmane.org/gmane.science.nmr.relax.devel/5057/focus=5062.

This is via the new user function argument type "file sel multi", now used by the
spectrum.read_intensities user function. The file selection element consists of two parts. The GUI
element embedded in the user function wizard page is similar to the "file sel" element, except that
the preview button is not present. The file selection button behaviour is also different in that it
launches the new multiple file selection window.

The multiple file selection window is based on the 'sequence' data window, as used in the spectrum
ID argument for the spectrum.read_intensities user function. However the ListCtrl element has been
replaced by a custom scrolled panel. The 'Add' button adds a new file selection GUI element
consisting of a TextCtrl for displaying and manual editing of the file name, the file selection
button for launching the relax file selection dialog, and the preview button lost in the parent GUI
element. The scrolled panel allows more elements in the panel than can fit in the window. The
'Delete all' and 'OK' buttons from the 'sequence' data window are also present and function as
expected.

2014-02-21 08:16:36 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.