Open main menu

Changes

Relax 2.2.4

785 bytes added, 21:06, 16 October 2020
m
→‎Changes: Switch to the {{minfx homepage}} and {{bmrblib homepage}} templates to remove dead Gna! links.
{{lowercase title}}
{{infobox relax release| version = 2.2.4| prev = 2.2.3| next = 2.2.5| keywords = Python 3, RMSD, test suite, user functions| type = Major bugfix| date = 10 December 2013| manual = yes}} == Description ==
<section begin=description/>
<section end=description/>
== Download ==
<section begin=download/>
<section end=download/>
== CHANGES file ==
<section begin=metadata/>
<section end=metadata/>
=== Features ===
<section begin=features/>
<section end=features/>
=== Changes ===
<section begin=changes/>
* Updated the release checklist document to include the correct instructions for minfx and bmrblib. These are the packages bundled with relax (http://gna.org/projects/{{minfx/ homepage}} and http://gna.org/projects/{{bmrblib/homepage}})
* Improvements for Python 2 and 3 compatibility. Much of the Python 2 verses 3 compatibility, as well as different Python 2 version compatibility and different Python 3 version compatibility, code has been shifted into the compat module. The different parts of relax now import from the compat module for modules/packages with different import semantics for different Python versions. In addition the different handling of the bz2 and gzip module for reading and writing files has been shifted from 'relax_io' into 'compat'.
* Updated the 2to3 checklist document to include multiple threads for faster operation.
* Eliminated the os.devnull import flag dep_check.devnull_import. This is not needed as the compat relax module defines os.devnull for Python <= &le; 2.3. The devnull module is no longer part of the relax information printout.* Added a more informative error message if the platform module is missing. This is for Python <= &le; 2.2. The file from http://hg.python.org/cpython/file/2.3/Lib/platform.py can simply be copied into the lib/pythonX.X/ directory to fix this.
* Slight change to the message printed if the platform module is missing.
* Modified the script for running the relax test-suite on multiple Python versions. The pre-2.2 Python versions are now commented out as well as the abortive Python 3.0.
* Created the Mf.test_bug_20613_auto_mf_diff_tensor_pdb system test to catch [https://gna.org/bugs/?20613 bug #20613]. This was reported by Angelo Miguel Figueiredo <am dott figueiredo att fct dot unl dot pt>. This test is a direct copy of the Mf.test_bug_20563_missing_ri_error system test. The only change is that the local tm global model results file (in the local_tm/aic/ directory) has been modified. This results were read into relax, the file test_suite/shared_data/structures/Ap4Aase_res1-12.pdb loaded into the data pipe, and the results saved again. This triggers the bug as the problem is the presence of structural data with the local tm global model being selected in the auto-analysis.
* Shifted all of the model-free specific analysis class documentation variables to the top. This is simply for better organisation of the code.
* Created the model-free write_doc class variable talking about the field strength independent Rex value. This has been added to the [http://www.nmr-relax.com/manual/value_display.html value.display ] and [http://www.nmr-relax.com/manual/value_write.html value.write ] user functions to explain that Rex values are very small and that the user needs to scale them up.
* Shifted all of the documentation variables to the top of the specific API_base class. This is for better organisation.
* Added the write_doc class variable to the specific analysis API class as a empty string. This is to fix the unit tests.
* Created the front end for the new [http://www.nmr-relax.com/manual/structure_create_rotor_pdb.html structure.create_rotor_pdb user function]. This will be used to create a PDB representation of a rotor motional model.* Added file, directory and overwrite force arguments to the [http://www.nmr-relax.com/manual/structure_create_rotor_pdb.html structure.create_rotor_pdb user function].* Started to implement the backend of the [http://www.nmr-relax.com/manual/structure_create_rotor_pdb.html structure.create_rotor_pdb user function].
* The internal structural object MolContainer.add_atom() method now returns the index of the new atom.
* Created the internal structural object MolContainer.last_residue() method.
* Fully implemented the [http://www.nmr-relax.com/manual/structure_create_rotor_pdb.html structure.create_rotor_pdb user function]. For this, the generic_fns.structure.geometric.create_rotor_propellers() function was created.
<section end=changes/>
=== Bugfixes ===
<section begin=bugfixes/>
* Python 3 updates and fixes using the 2to3 program.
* Bug fix for the external Scientific Python Geometry package. This is a strange Python 3 issue only triggered when the epydoc Python package is installed.
* Fix for [https://gna.org/bugs/?20613 bug #20613, the failure of the diffusion tensor PDB creation]. This was reported by Angelo Miguel Figueiredo <am dott figueiredo att fct dot unl dot pt>. The problem was that the diffusion tensor PDB representation [http://www.nmr-relax.com/manual/structure_create_diff_tensor_pdb.html structure.create_diff_tensor_pdb user function ] was being called even when the local tm global model was selected. This naturally failed as there is no global diffusion tensor. Now this user function is avoided for the local tm global model.* Fix for the [http://www.nmr-relax.com/manual/value_write.html value.write user function ] for very small parameter values (Rex for example). This was reported by Martin Ballaschk <ballaschk att fmp-berlin dott de> in the thread http://thread.gmane.org/gmane.science.nmr.relax.user/1397/focus=1402 and by by Angelo Miguel Figueiredo <am dott figueiredo att fct dot unl dot pt> in the unrelated bug report at https://gna.org/bugs/?20613. The formatting string "20.15f" has been changed to "20.15g" to allow Python to decide if the normal decimal or exponential form of the number should be printed.
* Fix for a strange and extremely rare typo bug in the model-free specific analysis code. This was identified by Manish Chaubey <manish dott chaubey att tuebingen dott mpg dott de> in the message at http://thread.gmane.org/gmane.science.nmr.relax.user/1422. This only occurs if a relaxation data error of zero is encountered and is a bug in the RelaxError message explaining the problem with the data.
<section end=bugfixes/>
== Links ==
<section begin=links/>
For reference, the following links are also part of the announcement for this release:
* [http://wiki.nmr-relax.com/Relax_2.2.4 Official release notes]
* [https://{{gna link|url=gna.org/forum/forum.php?forum_id=2384 |text=Gna! news item]}}
* [http://article.gmane.org/gmane.science.nmr.relax.announce/41 Gmane]
* [http://www.mail-archive.com/relax-announce%40gna.org/msg00037.html Mail Archive]
<section end=links/>
== Announcements ==
{{:relax release announcements}}
== See also ==
* [http://www.nmr-relax.com/api/2.2/ The relax 2.2 API documentation]
{{:relax release see also}}
Trusted, Bureaucrats
4,223

edits