Menu

SVN archive Commit Log


Commit Date  
[r20792] by bugman

The new compat.u() function is now being used for all unicode strings.

2013-09-04 08:43:51 Tree
[r20791] by bugman

Restored the Python3 aliased unicode() function accidentally removed in commit r20789.

2013-09-04 08:41:49 Tree
[r20790] by bugman

Defined two new functions called u() in the compat module for better unicode string support.

The two functions are defined differently for Python2 and Python3. The Python3 function simply
returns the text unmodified, as all strings are unicode. The Python2 function converts the str
type to a unicode type.

2013-09-04 08:37:19 Tree
[r20789] by bugman

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

........
r20788 | bugman | 2013-09-04 10:01:07 +0200 (Wed, 04 Sep 2013) | 7 lines

Python 3 fixes for all of the unicode strings in relax.

Instead of using the u"xyz" notation, now unicode("xyz") is being used. This works as the relax
compat module sets the builtin unicode() function to str() for Python 3, as all strings in Python 3
are unicode and hence both the Python 2 u"xyz" and unicode() code are undefined in Python 3.
........

2013-09-04 08:01:43 Tree
[r20788] by bugman

Python 3 fixes for all of the unicode strings in relax.

Instead of using the u"xyz" notation, now unicode("xyz") is being used. This works as the relax
compat module sets the builtin unicode() function to str() for Python 3, as all strings in Python 3
are unicode and hence both the Python 2 u"xyz" and unicode() code are undefined in Python 3.

2013-09-04 08:01:07 Tree
[r20787] by bugman

Python 3 space fixes for the lib.software.grace.script_grace2images() function.

As the script is encoded by strings, the 2to3 program cannot fix this script. Therefore the changes
were made by hand.

2013-09-04 07:54:06 Tree
[r20786] by bugman

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

........
r20785 | bugman | 2013-09-04 09:29:14 +0200 (Wed, 04 Sep 2013) | 19 lines

Python 3 fixes.

The command used was:
2to3 -j 8 -w \
-f buffer \
-f idioms \
-f set_literal \
-f ws_comma \
-x except \
-x import \
-x imports \
-x long \
-x numliterals \
-x xrange \
.

The compat.py and multi/processor.py files were reverted prior to committing.
........

2013-09-04 07:32:08 Tree
[r20785] by bugman

Python 3 fixes.

The command used was:
2to3 -j 8 -w \
-f buffer \
-f idioms \
-f set_literal \
-f ws_comma \
-x except \
-x import \
-x imports \
-x long \
-x numliterals \
-x xrange \
.

The compat.py and multi/processor.py files were reverted prior to committing.

2013-09-04 07:29:14 Tree
[r20784] by bugman

Created the Relax_disp.test_tp02_data_to_tp02 GUI test.

This is based on the system test of the same name. This GUI test checks that an off-resonance R1rho
analysis is functional in the GUI.

2013-09-03 17:31:31 Tree
[r20783] by bugman

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

........
r20780 | bugman | 2013-09-03 18:48:16 +0200 (Tue, 03 Sep 2013) | 7 lines

Created Wiz_window.setup_page() for user function wizard pages to allow for simpler GUI tests.

This method can be used to setup any user function wizard page with all its arguments set. It
accepts all keyword arguments and sets these for the wizard page, translating to GUI strings as
needed. This should save a lot of lines in the GUI tests.
........
r20781 | bugman | 2013-09-03 18:48:49 +0200 (Tue, 03 Sep 2013) | 3 lines

Simplified the Noe.test_noe_analysis GUI test by using the new Wiz_window.setup_page() method.
........

2013-09-03 16:50:28 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.