Open main menu

Changes

Relax 2.0.0

12 bytes added, 21:52, 13 September 2014
Formatting of all symbols/parameters.
* GUI test scripts are now executed via prompt.interpreter.exec_script(). This allows the preservation of imports within the scripts. The old execfile() method was causing the 'globals' to be overwritten, hence imports in the scripts are not visible inside methods or classes.
* The GUI auto-generated user function SetValue() method now skips function and function arg arguments. These are not supported in the GUI.
* Loosened the checking conditions for the test_set_value() J(wω) mapping system (and GUI) test. Just like the consistency testing, the GUI string conversions to and from floats introduces a slight truncation.
* The consistency testing test_set_value() system (and GUI) test has been made less strict. The conversion of the bond length and CSA values to GUI strings and back to floats causes a slight numerical truncation.
* The specific analysis API base return_data_desc() now has a basic implementation. This will search through the global and then spin parameters objects, returning whatever is found.
* The specific analysis API base method calls to RelaxImplementError now send in the function name. This allows for better identification of what needs to be implemented.
* The specific analysis base API default_value() method is now functional. Rather than raising a RelaxImplementError, this method now searches in the global parameters then the spin parameters for a default value.
* Shifted out the interpreter components of the J(wω) mapping tests into scripts. This allows the tests to work in the GUI test framework.
* Converted the consistency tests script to the new _execute_uf() design. This allows it to work with the GUI for the GUI tests.
* The jw_mapping system tests are now run as GUI tests.
Trusted, Bureaucrats
4,228

edits