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 1 of 2)
changed /branches/frame_order_testing
changed /branches/frame_order_testing/arg_check.py
changed /branches/frame_order_testing/data/align_tensor.py
changed /branches/frame_order_testing/data/data_classes.py
changed /branches/frame_order_testing/data/interatomic.py
changed /branches/frame_order_testing/data/mol_res_spin.py
changed /branches/frame_order_testing/docs/latex/curvefit.tex
changed /branches/frame_order_testing/docs/latex/fetch_docstrings.py
changed /branches/frame_order_testing/extern/scientific_python/IO/PDB.py
changed /branches/frame_order_testing/generic_fns/mol_res_spin.py
changed /branches/frame_order_testing/generic_fns/sequence.py
changed /branches/frame_order_testing/maths_fns/chi2.py
changed /branches/frame_order_testing/maths_fns/mf.py
changed /branches/frame_order_testing/maths_fns/n_state_model.py
changed /branches/frame_order_testing/maths_fns/pcs.py
changed /branches/frame_order_testing/maths_fns/potential.py
changed /branches/frame_order_testing/maths_fns/rdc.py
changed /branches/frame_order_testing/maths_fns/ri_comps.py
changed /branches/frame_order_testing/opendx/base_map.py
changed /branches/frame_order_testing/opendx/isosurface_3D.py
changed /branches/frame_order_testing/prompt/tab_completion.py
changed /branches/frame_order_testing/relax.py
changed /branches/frame_order_testing/relax_errors.py
copied /trunk/check_types.py -> /branches/frame_order_testing/check_types.py
copied /trunk/compat.py -> /branches/frame_order_testing/compat.py
/branches/frame_order_testing/arg_check.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/data/align_tensor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/data/data_classes.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/data/interatomic.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/data/mol_res_spin.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/docs/latex/curvefit.tex Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/docs/latex/fetch_docstrings.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/extern/scientific_python/IO/PDB.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/generic_fns/mol_res_spin.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/generic_fns/sequence.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/chi2.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/mf.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/n_state_model.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/pcs.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/potential.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/rdc.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/maths_fns/ri_comps.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/opendx/base_map.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/opendx/isosurface_3D.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/prompt/tab_completion.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/relax.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_testing/relax_errors.py Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 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.