Open main menu

Changes

Relax 3.1.6

30 bytes added, 11:43, 15 October 2020
m
→‎Changes: Switch to the {{relax developer link}} template to remove dead Gna! links.
* Epydoc docstring fix for the pipe_control.structure.main.load_spins() function.
* Created the Mf.test_bug_21615_incomplete_setup_failure GUI tests. This is designed to catch [https://gna.org/bugs/?21615 bug #21615] as reported by Ivan Leung (ivanhoe dott leung att chem dott ox dot ac dot uk). Included are the data files Ivan attached to the bug report truncated to two residues. The GUI test follows exactly the steps outlined by Ivan.
* Deleted the ancient, unused 'quit' argument of the relax interpreter object. This code was identified in a post by [https://gna.org/users/{{relax developer link|username=tlinnet |text=Troels Linnet] }} at http://thread.gmane.org/gmane.science.nmr.relax.devel/5000/focus=5003. This argument never worked correctly and has not been used for many, many years. Many code paths in relax needed to be updated to remove the argument.
* Shifted the pedantic flag to escalate flag. The option -p would instead be used for the option --prompt. Fix for [https://gna.org/support/?3117 sr #3117 - Functionality to inspect interactively after running script - The equivalence to python -i].
* Added the -p --prompt option for running a relax script and inspect interactively. Fix for [https://gna.org/support/?3117 sr #3117 - Functionality to inspect interactively after running script - The equivalence to python -i].
* Added the unit test infrastructure for testing the specific_analyses.relax_disp package. This currently includes the package __all__ list unit test.
* Updated the specific_analyses.relax_disp package __all__ list. This was identified in the previously committed unit test.
* Added the infrastructure for the unit tests of the specific_analyses.relax_disp.disp_data module. This is in response to the post http://thread.gmane.org/gmane.science.nmr.relax.scm/19963/focus=5046 by [https://gna.org/users/{{relax developer link|username=tlinnet |text=Troels]}}, and is described in my response at http://thread.gmane.org/gmane.science.nmr.relax.scm/19963/focus=5048.
* Created two new LaTeX commands for improving the layout of Python code in the relax manual. These are \pysep and \pyus which will be used to format the Python module separator character and the Python underscore character respectively. They are used in the \module{}, \pycode{}, etc. commands to add the '.\linebreak[0]' and '\_\linebreak[0]' text to allow for improved and consistent line breaking.
* Complete reformatting of the base LaTeX files. The paragraph structure has been changed so that each sentence now starts on a new line. This is for better tracking of changes (via 'svn diff' for example), for better searchability of certain text elements using command line tools such as 'grep', and for easier easier use of the 'sed' tool. The change tracking is most important as it allows for finer granularity - a small change will now only be shown as a change in one sentence rather than the whole paragraph, allowing the change to be identified more easily. It also allows for easier commit maintenance.
Trusted, Bureaucrats
4,223

edits