Menu

Commit [r17837]  Maximize  Restore  History

Merged revisions 17641-17650 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r17641 | bugman | 2012-10-01 23:34:42 +0200 (Mon, 01 Oct 2012) | 3 lines

Python 3 - eliminated the use of the map() function, as this behaves differently in Python 3.
........
r17642 | bugman | 2012-10-01 23:40:37 +0200 (Mon, 01 Oct 2012) | 3 lines

Python 3 - Eliminated an unneeded xrange call.
........
r17643 | bugman | 2012-10-02 00:37:08 +0200 (Tue, 02 Oct 2012) | 3 lines

Created the special check_types.is_filetype() function for checking for files in all Python versions.
........
r17644 | bugman | 2012-10-02 01:16:44 +0200 (Tue, 02 Oct 2012) | 5 lines

Fix for a bug introduced at r17624 in the generic_fns.sequence.validate_sequence() function.

The is_none() function call doesn't seem to be working correctly.
........
r17645 | bugman | 2012-10-02 10:23:28 +0200 (Tue, 02 Oct 2012) | 3 lines

Python 3 preparations - mass conversion of all xrange() calls to range().
........
r17646 | bugman | 2012-10-02 10:26:09 +0200 (Tue, 02 Oct 2012) | 6 lines

Python 3 fixes - the list() function is now used in combination with range() to generate the ordered list.

range() in Python 3 is an iterator object (just as xrange was), so now the list() function has to be
called.
........
r17647 | bugman | 2012-10-02 10:35:22 +0200 (Tue, 02 Oct 2012) | 3 lines

Created a new module for simultaneous Python 2 and 3 support in relax called 'compat'.
........
r17648 | bugman | 2012-10-02 10:45:46 +0200 (Tue, 02 Oct 2012) | 9 lines

Converted the ScientificPython PDB reader to support both Python 2 and 3.

The command used was:
2to3 extern/scientific_python/IO/PDB.py -w

The __repr__() method was manually modified due to the 'list' variable clashing with the 'list'
type.
........
r17649 | bugman | 2012-10-02 10:47:48 +0200 (Tue, 02 Oct 2012) | 3 lines

Converted some raise() function calls to raise statements in preparation for the 2to3 conversion.
........
r17650 | bugman | 2012-10-02 10:49:09 +0200 (Tue, 02 Oct 2012) | 3 lines

Another raise() function call to statement change for 2to3 preparations.
........

bugman 2012-10-16

<< < 1 2 (Page 2 of 2)
changed /branches/frame_order_testing/relax_io.py
changed /branches/frame_order_testing/sample_scripts/model_free/cv.py
changed /branches/frame_order_testing/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py
changed /branches/frame_order_testing/sample_scripts/n_state_model/local_min_search.py
changed /branches/frame_order_testing/sample_scripts/relax_curve_diff.py
changed /branches/frame_order_testing/sample_scripts/relax_fit.py
changed /branches/frame_order_testing/scons/distrib.py
changed /branches/frame_order_testing/scons/manuals.py
changed /branches/frame_order_testing/scripts/code_validator
changed /branches/frame_order_testing/specific_fns/api_common.py
changed /branches/frame_order_testing/specific_fns/frame_order.py
changed /branches/frame_order_testing/specific_fns/hybrid.py
changed /branches/frame_order_testing/specific_fns/model_free/bmrb.py
changed /branches/frame_order_testing/specific_fns/model_free/main.py
changed /branches/frame_order_testing/specific_fns/model_free/mf_minimise.py
changed /branches/frame_order_testing/specific_fns/model_free/results.py
changed /branches/frame_order_testing/specific_fns/n_state_model.py
changed /branches/frame_order_testing/specific_fns/relax_fit.py
changed /branches/frame_order_testing/test_suite/formatting.py
changed /branches/frame_order_testing/test_suite/shared_data/bruker_files/relax_fit.py
changed /branches/frame_order_testing/test_suite/shared_data/bruker_files/relax_fit_pdc_err.py
changed /branches/frame_order_testing/test_suite/shared_data/model_free/sphere/create_sphere.py
changed /branches/frame_order_testing/test_suite/unit_tests/unit_test_runner.py
/branches/frame_order_testing/relax_io.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/sample_scripts/model_free/cv.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/sample_scripts/n_state_model/local_min_search.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/sample_scripts/relax_curve_diff.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/sample_scripts/relax_fit.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/scons/distrib.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/scons/manuals.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/scripts/code_validator Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/api_common.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/frame_order.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/hybrid.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/model_free/bmrb.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/model_free/main.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/model_free/mf_minimise.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/model_free/results.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/n_state_model.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/specific_fns/relax_fit.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/test_suite/formatting.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/test_suite/shared_data/bruker_files/relax_fit.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/test_suite/shared_data/bruker_files/relax_fit_pdc_err.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/test_suite/shared_data/model_free/sphere/create_sphere.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/test_suite/unit_tests/unit_test_runner.py Diff Switch to side-by-side view
Loading...
<< < 1 2 (Page 2 of 2)
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.