Menu

SVN archive Commit Log


Commit Date  
[r17673] by bugman

Python 3 bug fix for the Structure.test_read_pdb_mol_2_model_scientific system tests.

This is again an integer division problem returning a float.

2012-10-02 14:09:58 Tree
[r17672] by bugman

Python 3 fix for the test_write_protein_sequence() unit test.

This is again a string verses byte verses unicode problem.

2012-10-02 14:05:11 Tree
[r17671] by bugman

Python 3 fix for the user function docstring creation in the prompt UI mode.

Again this is the problem of a division now returning a float rather than an int.

2012-10-02 13:48:31 Tree
[r17670] by bugman

Python 3 bug fix for the N-state model target function setup.

The num_tensors variable needs to be an integer, but the Python 3 division will create a float type.

2012-10-02 13:44:24 Tree
[r17669] by bugman

Python 3 fix for the reading of text from a bz2 file.

In Python 3, the readlines() function was returning a list of bytes types, not a list of strings.
The relax_io.extract_data() function now detects this and converts to string when possible.

2012-10-02 13:42:37 Tree
[r17668] by bugman

Python 3 fix for the results.read user function matching that of state.load at r17666.

2012-10-02 13:19:32 Tree
[r17667] by bugman

Python 3 bug fix for the relax_io.read_spin_data() function.

The built in max() function cannot handle the value of None, therefore the filter() function is used
to remove all instances of None from the list.

2012-10-02 13:18:32 Tree
[r17666] by bugman

Python 3 bug fix for the state.load user function.

The header line of pickled states (rather than the standard XML states) is of the b'' byte format.
This is now converted to a string, and the search expression is comparing it to the raw string
r"<\?xml".

2012-10-02 12:37:01 Tree
[r17665] by bugman

Better support for both Python 2 and 3 in the relax data store.

The 2to3 script was used on all of the files in the data package.

2012-10-02 12:25:52 Tree
[r17664] by bugman

Python 3 preparation - the relax data store (the data package) now supports both Python 2 and 3.

The command used was:
2to3 -w data/__init__.py

2012-10-02 12:23:43 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.