Open main menu

Changes

Relax 3.0.2

788 bytes added, 11:26, 14 October 2020
m
→‎Links: Fix the broken Gna! forum link by switching to {{gna link}}.
{{lowercase title}}
{{infobox relax release| version = 3.0.2| prev = 3.0.1| next = 3.1.0| type = Minor feature and bugfix release| date = 26 November 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/>
* Much better [http://www.nmr-relax.com/manual/spin_create_pseudo.html pseudo-atom[ ] support, including not requiring tetrahedral geometry.* The [http://www.nmr-relax.com/manual/value_write.html value.write user function[ ] can now create files with non-numeric data, such as the models for each spin.* Improvements to the 2D Grace plotting from the [http://www.nmr-relax.com/manual/grace_write.html grace.write user function[ ] including full support for multiple graphs and the setting of the axes to the zero point.
<section end=features/>
=== Changes ===
<section begin=changes/>
* The test_suite.clean_up.deletion() function can now handle the case of missing files and directories. This problem was occurring in the relax_disp branch for some of the system tests.
* Created the is_int() and is_num() functions for the lib.check_types module.
* The [http://www.nmr-relax.com/manual/value_write.html value.write user function ] can now properly handle non-numeric data types. This allows the spin specific model name to be written to file, or any other string defined in the specific analysis PARAMS data object.
* The multi-processor section of the manual is now labelled in the correct position.
* Created a special GUI analysis element for floating point numbers. This allows for user input of floating point numbers into one of the GUI analysis tabs. If the input is not a number, the original value will be restored.
* Created the pipe_control.spectrometer.get_frequency() function for returning the frequency for a given ID.
* The pipe_control.spectrum.add_spectrum_id() function now returns silently if the ID already exists.
* Improvements to the [http://www.nmr-relax.com/manual/pymol_view.html pymol.view ] and [http://www.nmr-relax.com/manual/molmol_view.html molmol.view ] user functions for finding the PDB files. Now the possibility that this is being run from a results subdirectory is taken into consideration. If the file cannot be found, the os.pardir parent directory is added to the start of the relative path and the file checked for.* The [http://www.nmr-relax.com/manual/rdc_read.html rdc.read user function ] will now skip all lines of the RDC file starting with '#'. To include molecule identifiers at the start of the line will now require quotation marks.
* Shifted the RDC and PCS assembly methods from the main class to the data module for the N-state analysis.
* Created the pipe_control.mol_res_spin.is_pseudoatom() function to simplify pseudo-atom handling.
* Added a PDB file and RDC values (and absolute J+D and J) for propylene carbonate. This will be used for testing of pseudo-atoms in the N-state model analysis.
* Renamed the propylene carbonate files to the correct name of pyrotartaric anhydride.
* Created two new system tests based on the new pyrotarctic anhydride long range (1J<sup>1</sup>J, 2J <sup>2</sup>J & 3J<sup>3</sup>J) RDC data. The first (N_state_model.test_pyrotartaric_anhydride_rdcs) optimises an alignment tensor using long range signed RDC data. The second (N_state_model.test_pyrotartaric_anhydride_absT) optimises an alignment tensor using long range absolute T (J+D) data. Both test long range data together with methyl group pseudo-atom data.
* Added all of the pyrotartaric anhydride RDC generation scripts and files. This is simply for reference and reproducibility.
* Modifications for the pyrotartaric anhydride system test script. The grid search now is much quicker, and the RDC correlation plots are now sent to DEVNULL.
* Added proper pseudo-atom support for the RDCs in the N-state model analysis. This involves a number of changes. The pseudo-atom specific functions ave_rdc_tensor_pseudoatom() and ave_rdc_tensor_pseudoatom_dDij_dAmn() have been added to the lib.alignment.rdc module. These simply average the values from the equivalent non-pseudo-atom functions. The return_rdc_data()function in the specific_analyses.n_state_model.data module has been modified to assemble the RDC constants and unit vectors for all members of the pseudo-atom and add these to the returned structures, as well as a new list of flags specifying if the interatom pair contains pseudo-atoms. The N-state model target function and gradient have been updated to send the pseudo-atom data to the new lib.alignment.rdc module functions.
* J couplings for the N-state analysis are now properly handled for pseudo-atoms. The measured J couplings for the members of the pseudo-atom should not be used, but rather that of the pseudo-atom spin itself (as the former does not exist).
* Eliminated the old pseudo-atom handling in the N-state model specific return_rdc_data() function. This was multiplying the RDCs by -3 to handle the tetrahedral geometry of the 1J <sup>1</sup>J methyl RDCs. However this approach is not valid for non-methyl pseudo-atoms or for 2J<sup>2</sup>J, 3J<sup>3</sup>J, etc. data.
* A RelaxError is now raised for the N-state model optimisation with gradients when T = J+D data is used. The gradients for this data type are not implemented yet, so it is better to prevent the user from using this.
* The N_state_model.test_pyrotartaric_anhydride_absT system test now uses simplex optimisation to pass. The Newton algorithm cannot be used as the gradients for T = J+D type data have not been implemented.
* Updated the menthol long range RDC data file to include pseudo-atom member distances.
* Renamed the interatomic_loop() function 'selected' argument to 'skip_desel'. This is to match the spin_loop() function arguments.
* The [http://www.nmr-relax.com/manual/interatom_unit_vectors.html interatom.unit_vectors user function ] now calculates the unit vectors for deselected containers. This is useful for pseudo-atom handling where the interatomic containers to the pseudo-atom members have already been deselected.
* Updated the value checking for the N_state_model.test_absolute_rdc_menthol system test. The pseudo-atoms are now properly handled so the result is now much better.
* The stereochemistry auto-analysis can now accept a file of interatomic distances. This is for better pseudo-atom support.
* The N-state model specific check_rdcs() function now properly handles pseudo-atoms.
* The pipe_control.rdc.q_factors() function now properly handles pseudo-atoms. If pseudo-atoms are present, then 2Da^2D<sub>a</sub><sup>2</sup>(4 + 3R)/5 normalised Q factor is skipped.
* Created the N_state_model.test_pyrotartaric_anhydride_mix system test. This is used to demonstrate a bug in the N-state analysis using mixed RDC and long range absolute J+D data.
* Movement of N-state model specific code to the analysis neutral pipe_control package. Many of the functions of the specific_analyses.n_state_model.data module relating to alignment tensors, RDC data and PCS data have been shifted in to the pipe_control package modules align_tensor, rdc, and pcs respectively. This allows these functions to be made more general and allow the code to be shared with the frame order analysis or any future analysis using such data, and hence remove some code duplication.
* Created the pipe_control.rdc.setup_pseudoatom_rdcs() function. This is used to make sure that the pseudo-atom interatomic systems (the containers from heternucleus to pseudo-atom and heteronucleus to pseudo-atom members) are properly set up. It will deselect the interatomic containers if incorrectly set up or if they are not part of the main pair.
* Added quotation marks around a number of spin IDs with molecule names in some RDC data files. This is for the N-state model population model data used in the test suite.
* The [http://www.nmr-relax.com/manual/rdc_read.html rdc.read ] and [http://www.nmr-relax.com/manual/j_coupling_read.html j_coupling.read ] user functions now ignore all lines starting with the # character. This is to remove all comment lines silently. Therefore if spin IDs are used which contain the molecule name, then they should be wrapped in quotation marks.
* Updated a number of RDC test suite data files to have quotation marks around the spin IDs. This is to allow the molecule identifier to be present while not being mistaken for a comment line.
* Updated some of the RDC data files used in the frame order system tests. The spin IDs are now in quotation marks as the molecule name is included. This is to prevent the line being removed as a comment.
<section end=changes/>
=== Bugfixes ===
<section begin=bugfixes/>
* Fix for bug #21233 ([https://gna.org/bugs/?21233) bug #21233 - the missing mpi4py multi-processor messages]. When multiple commands were being sent to one slave, the captured IO was being overwritten by each executed command. Therefore the slave would only return the printouts from the last command.* Fix for a fatal bug in the rarely used [http://www.nmr-relax.com/manual/structure_add_atom.html structure.add_atom user function]. The position argument in the user function definitions was incorrectly defined causing the user function to be non-functional. The 'float_object' argument type is now supported in the GUI.
* Fix for the N-state model _target_fn_setup() method for when no PCS data is present.
* Bug fix for the lib.structure.mass.centre_of_mass() function warning when the element is not known. This warning was buggy and resulted tracebacks.
<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_3.0.2 Official release notes]
* [https://{{gna link|url=gna.org/forum/forum.php?forum_id=2420 |text=Gna! news item]}}
* [http://article.gmane.org/gmane.science.nmr.relax.announce/45 Gmane]
* [http://www.mail-archive.com/relax-announce%40gna.org/msg00040.html Mail Archive]
<section end=links/>
== Announcements ==
{{:relax release announcements}}
== See also ==
* [http://www.nmr-relax.com/api/3.0/ The relax 3.0 API documentation]
{{:relax release see also}}
Trusted, Bureaucrats
4,223

edits