svn+ssh://bugman@.../svn/relax/trunk
........
r18903 | bugman | 2013-03-20 10:28:25 +0100 (Wed, 20 Mar 2013) | 8 lines
Fix for a nasty bug introduced at r18901.
The string decode() method was being called for the version.url() and version.revision() functions
to handle Python 3. However this was causing strings in Python 2 to be converted to unicode, which
then caused the saving of XML state files to fail. Now the version information is explicitly
converted to a string using the str() builtin function.
........
r18904 | bugman | 2013-03-20 10:37:53 +0100 (Wed, 20 Mar 2013) | 9 lines
Added the scaling argument to the value.display and value.write user functions.
The idea comes from a suggestion by Angelo Figueiredo <am dott figueiredo att fct dott unl dott pt>
and was discussed at http://thread.gmane.org/gmane.science.nmr.relax.user/1428/focus=1430.
This allows the user to scale parameters to any value, for example scaling the Rex value to the
field strength dependent value.
........
r18905 | bugman | 2013-03-20 11:56:23 +0100 (Wed, 20 Mar 2013) | 11 lines
The model-free auto-analysis (the dauvergne_protocol) now generates field strength dependent Rex files.
The idea comes from a suggestion by Angelo Figueiredo <am dott figueiredo att fct dott unl dott pt>
and was discussed at http://thread.gmane.org/gmane.science.nmr.relax.user/1428/focus=1430.
One file per field strength is generated and named 'rex_600' for 600 MHz, for example. The new
scaling argument of the value.write user function is being used to scale the tiny field strength
independent value used internally in relax to the Rex value in rad.s^-1 that you would see in an R2
data set.
........
r18906 | bugman | 2013-03-20 13:29:59 +0100 (Wed, 20 Mar 2013) | 5 lines
Added the new 'comment' argument to the value.write user function.
This is used to add user comments to the top of the file.
........
r18907 | bugman | 2013-03-20 13:32:45 +0100 (Wed, 20 Mar 2013) | 6 lines
The model-free auto-analysis (the dauvergne_protocol module) now adds comments to the Rex files.
This is through the new comment argument of the value.write user function. These comments explain
that the Rex values are scaled to the stated field strength.
........