svn+ssh://bugman@.../svn/relax/trunk
........
r17780 | bugman | 2012-10-09 10:26:13 +0200 (Tue, 09 Oct 2012) | 3 lines
Python 3 fix for the model-free BMRB export - many string module methods no longer exist.
........
r17781 | bugman | 2012-10-09 10:29:53 +0200 (Tue, 09 Oct 2012) | 3 lines
More Python 3 fixes for the use of now non-existent string module functions.
........
r17782 | bugman | 2012-10-09 11:53:02 +0200 (Tue, 09 Oct 2012) | 6 lines
All system and GUI tests reliant on the relax-fit C modules are deactivated if import fails.
This removes a pile of useless error messages from the test, and presents a table of skipped tests
at the end.
........
r17783 | bugman | 2012-10-09 12:03:29 +0200 (Tue, 09 Oct 2012) | 6 lines
Python 2.5 and lower fix for the test_write_protein_sequence() unit test.
The byte array is wrapped in an eval() statement to allow Python 2.5 and lower to parse the code
without failing, and the byte array comparison is now only used for Python 3+.
........
r17784 | bugman | 2012-10-09 12:09:45 +0200 (Tue, 09 Oct 2012) | 5 lines
The Results system tests are no longer dependent on the relaxation curve-fitting C modules.
This allows these tests to run when the module cannot be imported.
........
r17785 | bugman | 2012-10-09 12:50:29 +0200 (Tue, 09 Oct 2012) | 6 lines
Created a special script for testing out relax with Python versions 1.0 all the way to 3.3.
This builds the C modules for each Python version in ~/bin and then runs the test suite, outputting
everything to log files.
........
r17786 | bugman | 2012-10-09 12:52:34 +0200 (Tue, 09 Oct 2012) | 6 lines
Python 2.4 fixes - the ctypes module does not exist in Python versions 2.4 and lower.
This is only used for some non-essential functionality on MS Windows, so now it is deactivated if
not present.
........
r17787 | bugman | 2012-10-09 12:59:11 +0200 (Tue, 09 Oct 2012) | 6 lines
Python 2.4 and lower fix for the pipe_loop() generator method.
In these Python versions, a 'try' block with a 'finally' statement cannot contain 'yield'
statements! This work around should be compatible with all Python versions.
........
r17788 | bugman | 2012-10-09 13:36:46 +0200 (Tue, 09 Oct 2012) | 3 lines
Fix for the test_write_protein_sequence() unit test for a recently introduced bug.
........
r17789 | bugman | 2012-10-09 14:28:30 +0200 (Tue, 09 Oct 2012) | 6 lines
Reactivated support for Python 2.3.
This mainly skips the missing 'subprocess' module. This however decreases relax's functionality a
little.
........
r17790 | bugman | 2012-10-09 14:35:38 +0200 (Tue, 09 Oct 2012) | 3 lines
Small improvements to the multiple python version test suite testing script.
........
r17791 | bugman | 2012-10-09 15:59:34 +0200 (Tue, 09 Oct 2012) | 6 lines
Fix for the Mf.test_write_results() system test for Python 3.1.
The XML version in Python 3.1 is the old style! Therefore the old results file is being used to
check this Python 3.1 result.
........
r17792 | bugman | 2012-10-09 20:47:25 +0200 (Tue, 09 Oct 2012) | 7 lines
Better Python 2.3 support.
The compat module is now imported at the very start to allow the builtins to be set before any other
imports. The sorted() builtin method is now mimicked and the os.devnull string set for Python 2.3
and earlier.
........
r17793 | bugman | 2012-10-09 20:59:17 +0200 (Tue, 09 Oct 2012) | 3 lines
Python 2.4 fix - the unit test runner no longer uses the builtin set() method.
........
r17794 | bugman | 2012-10-09 21:06:42 +0200 (Tue, 09 Oct 2012) | 5 lines
Python 2.4 and earlier fix for the GUI.
Try-except-finally statement blocks are not supported, so these have to nested in two try statements.
........
r17795 | bugman | 2012-10-10 16:37:34 +0200 (Wed, 10 Oct 2012) | 6 lines
Fix for the Mf.test_write_results() system test for the Python 3 versions.
The logic for determining Python 3 versions was broken and the incorrect files was used for Python
3.1.
........
r17796 | bugman | 2012-10-10 16:44:00 +0200 (Wed, 10 Oct 2012) | 6 lines
Fix for the Mf.test_read_results_1_3_v2_broken() system test for Python 3.2.
The object comparison method no longer converts dictionaries to strings for the comparison, as the
string version is different in different Python versions.
........
r17797 | bugman | 2012-10-11 10:53:47 +0200 (Thu, 11 Oct 2012) | 5 lines
Disabled the initial relax intro print out from the GUI when running the test suite.
This prevents the intro text from appearing in the first failed test.
........
r17798 | bugman | 2012-10-12 11:48:22 +0200 (Fri, 12 Oct 2012) | 10 lines
Redesigned the reset user function backend.
This now no only clears out the relax data store, but it also resets the GUI if present. Some of
the reset code comes from the tearDown() method of the GUI tests. All windows but the main GUI
window are closed and the relax controller gauges are set to zero and the log window text cleared.
These changes should allow GUI tests after an error or failure to pass, something which is currently
problematic.
........
r17799 | bugman | 2012-10-15 10:21:37 +0200 (Mon, 15 Oct 2012) | 6 lines
Python 3 fix for the ScientificPython PDB reader unit tests.
The order of the keys returned by a dictionary's keys() method changes randomly in Python 3, so now
they are sorted prior to comparison.
........
r17800 | bugman | 2012-10-15 10:31:28 +0200 (Mon, 15 Oct 2012) | 3 lines
Python 2.3 fix - eliminated the superfluous operator.itemgetter() call in the diffusion tensor code.
........
r17801 | bugman | 2012-10-15 10:39:20 +0200 (Mon, 15 Oct 2012) | 5 lines
Python 2.3 and earlier fix - the subprocess module is only imported when present.
This is for the stereochem_analysis auto-analysis, but the import kills all of the auto-analyses.
........
r17802 | bugman | 2012-10-15 10:42:56 +0200 (Mon, 15 Oct 2012) | 5 lines
Python 2.3 and earlier fix for the Test_relax_re.test_search() unit test.
The unittest assertTrue() and assertFalse() methods do not exist, so assertEqual() is used instead.
........
r17803 | bugman | 2012-10-15 10:48:09 +0200 (Mon, 15 Oct 2012) | 3 lines
Python 2.3- fixes - the Modelfree4 and Dasha system tests are now skipped if the subprocess module is missing.
........
r17804 | bugman | 2012-10-15 13:50:51 +0200 (Mon, 15 Oct 2012) | 7 lines
Test suite bug fix - the GUI tests now cleanly terminate the interpreter thread.
This allows the test suite to terminate normally. With different Python versions on different
operating systems, this could sometimes cause the test suite to freeze at the end, the final
printout to be missing, or other strange behaviour.
........
r17805 | bugman | 2012-10-15 14:24:14 +0200 (Mon, 15 Oct 2012) | 3 lines
Removed an unused import of the Queue module from the multi-processor.
........
r17806 | bugman | 2012-10-15 14:25:51 +0200 (Mon, 15 Oct 2012) | 7 lines
Python 2.4 and earlier fixes for the Queuing module.
The TaskQueue class from http://code.activestate.com/recipes/475160/ which was added to Python 2.5+
has been added to the compat module. This module is now used for all imports of the Queue class for
all Python versions.
........