Menu

SVN archive Commit Log


Commit Date  
[r17656] by bugman

Automatically converted the generic_fns.mol_res_spin module to support both Python 2 and 3.

The command used was:
2to3 -w generic_fns/mol_res_spin.py

2012-10-02 09:47:15 Tree
[r17655] by bugman

For running relax with Python 2, the __builtin__.range() function has been replaced with xrange.

This causes large speed ups (speed that was lost with the earlier xrange() to range() conversions),
and memory decreases. For example on one system, the system test time decreased from 513.029s to
487.586s.

2012-10-02 09:39:17 Tree
[r17654] by bugman

The compat module now has the py_version variable specifying if this is Python 2 or 3.

2012-10-02 09:04:51 Tree
[r17653] by bugman

Import fix for the OpenDX mapping package, recently broken with the relative import for Python 3 change.

2012-10-02 08:54:58 Tree
[r17652] by bugman

More usage of the is_unicode() function in the generic_fns.mol_res_spin module.

2012-10-02 08:53:34 Tree
[r17651] by bugman

Created the check_types.is_unicode() function for Python 2+3 compatibility.

This is used in the generic_fns.mol_res_spin module.

2012-10-02 08:52:35 Tree
[r17650] by bugman

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

2012-10-02 08:49:09 Tree
[r17649] by bugman

Converted some raise() function calls to raise statements in preparation for the 2to3 conversion.

2012-10-02 08:47:48 Tree
[r17648] by bugman

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.

2012-10-02 08:45:46 Tree
[r17647] by bugman

Created a new module for simultaneous Python 2 and 3 support in relax called 'compat'.

2012-10-02 08:35:22 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.