Menu

SVN archive Commit Log


Commit Date  
[r27805] by bugman

Modified the internal formatting of the data section of the Grace 2D graph files.

This affects the lib.plotting.grace.write_xy_data() function. The formatting is now more
consistent, with the X value now set to a fixed number of decimal places, and hence will no longer
change between Python 2 and 3. The data is now all right justified as well, for easier reading.

All affected system tests have been updated for the new format.

2015-03-10 17:58:41 Tree
[r27804] by bugman

Improvements for the pcs.structural_noise user function.

The check for the presence of PCS data for points to skip now includes checking for PCS values of
None. And the output Grace file now also includes the spin ID string as a string or comment value
which can be displayed in the plot when desired.

2015-03-10 17:36:55 Tree
[r27803] by bugman

Python 3 improvement for the rdc.corr_plot and pcs.corr_plot user functions.

The world view is now set in floating point numbers. In Python 2, the math.ceil() and math.floor()
functions return floats, whereas in Python 3 these functions return integers. The behaviour is now
consistent in both Python versions, fixing a few system tests.

2015-03-10 17:00:53 Tree
[r27802] by bugman

Modified the spectrum.read_intensities user function backend to be more robust.

This affects the generic formatted peak lists, via the lib.spectrum.peak_list.intensity_generic()
function. The peak list reading will now continue reading the file after corrupted lines have been
encountered.

2015-03-10 09:15:35 Tree
[r27801] by bugman

Added the raise_flag argument to the lib.sequence.read_spin_data() function.

This is to allow the missing data RelaxError to be deactivated.

2015-03-10 09:13:33 Tree
[r27800] by bugman

Fix for the lib.sequence.check_sequence checking object.

Although rarely used, the check for the spin number was incorrect and half of the checks were
instead for the residue number. This is a classic copy and paste error where the residue name and
number checks were copied but not completely converted to spin name and numbers.

2015-03-10 09:05:25 Tree
[r27799] by bugman

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

........
r27797 | bugman | 2015-03-10 09:50:16 +0100 (Tue, 10 Mar 2015) | 6 lines

Fix for bug #23372 (https://gna.org/bugs/?23372), the sequence.read failure with CSV files.

The problem was that the sep argument was not being passed all the way to the backend
lib.io.extract_data() function.
........

2015-03-10 08:52:59 Tree
[r27798] by bugman

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

........
r27797 | bugman | 2015-03-10 09:50:16 +0100 (Tue, 10 Mar 2015) | 6 lines

Fix for bug #23372 (https://gna.org/bugs/?23372), the sequence.read failure with CSV files.

The problem was that the sep argument was not being passed all the way to the backend
lib.io.extract_data() function.
........

2015-03-10 08:52:58 Tree
[r27797] by bugman

Fix for bug #23372 (https://gna.org/bugs/?23372), the sequence.read failure with CSV files.

The problem was that the sep argument was not being passed all the way to the backend
lib.io.extract_data() function.

2015-03-10 08:50:16 Tree
[r27796] by bugman

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

........
r27793 | bugman | 2015-03-10 09:47:19 +0100 (Tue, 10 Mar 2015) | 11 lines

Converted the lib.sequence.validate_sequence() to the checking function design.

This is the checking function design documented at
http://wiki.nmr-relax.com/Relax_source_design#The_check_.2A.28.29_functions. The
validate_sequence() function has been renamed to check_sequence_func() and the checking object is
called check_sequence. It removes the string processing hack to convert RelaxErrors to
RelaxWarnings in the lib.sequence.read_spin_data() function, avoiding strange messages such at
"RelaxWarning: ror: The sequence data in the line..." as seen in the
Sequence.test_bug_23372_read_csv system test.
........
r27794 | bugman | 2015-03-10 09:48:39 +0100 (Tue, 10 Mar 2015) | 3 lines

Small typo fix for the Sequence.test_bug_23372_read_csv system test.
........

2015-03-10 08:50:13 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.