You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update citation file for 6.12.0 release
* Fix stack overflow error due to invalid condition (#38821)
Fix stackoverlow error when passing comma separated paths to ConfigService::setDataSearchDirs
* Better feedback for changes in the new settings widget (#38799)
* add presenter base class and notify main presenter when changes occur
* change 'okay' to 'ok'
* add missing tests to the cmakelist
* add test for settings tab presenter base class
* add tests for settings presenter changes
* changes to tab presenter tests
* remove change making the settings tabs presenters Qt objects
* added release notes
* add missing calls to unittest.main()
* make the base classes ABCs
* Add new authors for 6.12 (#38982)
* Drop __init__ from AbinsAlgorithm
It doesn't seem to do anything useful
Accept CacheDirectory user input to Abins (currently does nothing)
Add an input parameter "CacheDirectory" which is validated as being
writeable. This gives a nice user experience, with default value
appearing when the field is emptied.
The actual caching mechanics still need to be connected to this
parameter.
Modify Abins test cleanup to take cache dir; update loader tests
Other tests (which create cache in different ways) still fail, this is
expected.
Update more tests for explicit cache dir
Fix Abins Unit tests; revised cleanup function signature
We are also starting to pass the cache directory to Abins explicitly,
although it is not used yet.
Use explicit cache_directory variable in Abins algorithms
Ensure explicit cache_directory is used across Abins and tests
- Temporarily raise an error if the default cache_directory (None) is
passed to abins.io.IO
- This helped identify where tests were using default dirs. Now there
are updated to use a (somewhat inconsistent) mixture of temporary
directories and the user default directory
More use of tmpdir on Abins tests
- With explicit cache paths we can remove the need to patch IO class
and simplify tests
- Using TemporaryDirectory.cleanup() simplifies post-test clean-up
Rely entirely on tempfile to cleanup Abins tests
More consistent attribute names
Make cache_directory argument mandatory
More consistent attribute names
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Add CacheDirectory to Abins-1 doctest
Abins2D will still break.
I'm not really happy with this "fix" because there _should_ be a
default argument.
Fix Abins2D doctest (but a bit clunky)
As with Abins-v1, we fix the doctest by
- providing a CacheDirectory argument to the Algorithm calls
- setting a corresponding cleanup path
The problems with this approach are:
- it's ugly and distracting
- it _should_ be unnecessary, there is a default value and it works
when calling from GUI
- /tmp probably doesn't work on Windows
Add release note
Doctests: default parameter for CacheDirectory seems to work!
It has been a bit of a headache getting these to work nicely, but it
may have been something to do with spacing between RST lines.
There seems to be a little API change at work here: the default cache
director is now always the default save directory. Previously, it
seems that command-line runs of Mantid would sometimes use the current
directory from which Mantid was launched.
That may be a headscratcher or even breaking for certain user scripts.
In such workflows it would be highly recommended to set an explicit
directory.
Rework defaultsave / cleanup logic for Abins doctests
Further Abins doctest cleanup
Use magic * to share test setup/cleanup logic across tests.
Move cleanup to top of file and use comments so it is easier to see
what is going on.
* refactor to remove repeated validation code
added focus_mode parameter
added test coverage for different focus modes for multi-ws
reformatted the HelperClass
removed the abstractmethods in HelperClass
updated GEM mixin class
update gem run_focus
added multiple_ws tests
changed param from focus_mode to input_mode
added reference data check for GEM
added reference data check for polaris
added data files to repo
fixed test filenames to work with cmake
* Allow User-Configured Input Spin State Orders From The GUI & Parameter File (#38783)
* Return spin states from parameter file for Wildes
RE #37617
* Add fredrikze spin state line-edit to gui
RE #37617
* Add getters and setters to view
RE #37617
* Implement input disabling logic
RE #37617
* Add spin state order to Pol Corr model
RE #37617
* Update model from presenter
RE #37617
* Validate Fredrikze spinstate order at alg level
RE #37617
* Add documentation
RE #37617
* Include new field in encoder and decoder
This is needed for batch saving/loading and for project recovery.
RE #37617
* Use std::optional where appropriate
RE #37617
* Use a SpinStateValidator for passing to Wildes
Uses a SpinStateValidator to match the validator in
PolarizationCorrectionWildes. This additionally fixes a problem where
not including spaces when providing spin states would result in an
error.
RE #37617
* Get document from main
* Get updates to buildscripts from main
* Update zoom polarized IDF (#38979)
* update ZOOM IDF
* correct allignment
---------
Co-authored-by: James Clarke <james.clarke@stfc.ac.uk>
Co-authored-by: Mohammed Almakki <44416400+MohamedAlmaki@users.noreply.github.com>
Co-authored-by: Jonathan Haigh <35813666+jhaigh0@users.noreply.github.com>
Co-authored-by: James Clarke <139879523+jclarkeSTFC@users.noreply.github.com>
Co-authored-by: Adam J. Jackson <a.j.jackson@physics.org>
Co-authored-by: Andy Bridger <andy.bridger@stfc.ac.uk>
Co-authored-by: Caila Finn <47181718+cailafinn@users.noreply.github.com>
Co-authored-by: MialLewis <95620982+MialLewis@users.noreply.github.com>
0 commit comments