Skip to content

Conversation

mpatrou
Copy link
Contributor

@mpatrou mpatrou commented Nov 13, 2024

Description of work

The code fixes with two issues associated to the Elwin tab:

  1. Integration Range automatic update
  2. Plot generation of workspace ending in elwin_elf for providing a curve and no overflow warning messages.

Summary of work

Changes in the Elwin tab include:

  • setupExtractSpectra update to the original algorithm. Include Queue to enable the execution of the Mantid algorithms asynchronously
  • updateSelectorRange has been removed. It was called creating a "ping-pong" effect with the existing notifiers resulting to the issue with the integration range values.
  • associated test files are updated too

Fixes #xxxx.

Further detail of work

IBM EWM: Defect 8108 Mantid Elwin elastic line integration issue

To test:

ORNL --> check with BASIS data
ISIS --> check with existing data for interface freezing and No object found warning


Reviewer

Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

  • Is the code of an acceptable quality?
  • Does the code conform to the coding standards?
  • Are the unit tests small and test the class in isolation?
  • If there is GUI work does it follow the GUI standards?
  • If there are changes in the release notes then do they describe the changes appropriately?
  • Do the release notes conform to the release notes guide?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed?
  • Do the changes handle unexpected situations, e.g. bad input?
  • Has the relevant (user and developer) documentation been added/updated?

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

@mpatrou mpatrou force-pushed the elwin_elastic_integ_fix_ornl branch from ce78f05 to d420eaf Compare November 13, 2024 18:17
@sf1919 sf1919 added this to the Release 6.12 milestone Nov 15, 2024
@sf1919 sf1919 requested a review from robertapplin November 15, 2024 10:26
@robertapplin robertapplin self-assigned this Nov 15, 2024
@mpatrou
Copy link
Contributor Author

mpatrou commented Nov 15, 2024

YQ (cyqjh) is testing it too.

Copy link
Contributor

@robertapplin robertapplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! I can confirm processing is still performed on a background thread and the GUI does not freeze while the tab is running. Just noticed a few things below, then I'm happy to approve

I think this might also need a release note in https://github.com/mantidproject/mantid/tree/main/docs/source/release/v6.12.0/Inelastic/Bugfixes

@mpatrou mpatrou added Indirect/Inelastic Issues and pull requests related to indirect or inelastic ORNL Team Issues and pull requests managed by the ORNL development team labels Nov 18, 2024
@mpatrou mpatrou changed the title Elwin elastic integ fix ornl Elwin Elastic line integration issue Nov 18, 2024
Copy link
Contributor

@robertapplin robertapplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! I can confirm the resolution is now used when appropriate to select the integration range after data is loaded. The GUI does not freeze while processing. Also I no longer see the specWSnext in the ADS, looks good :)

@AndreiSavici AndreiSavici merged commit ad23b39 into main Nov 19, 2024
10 checks passed
@AndreiSavici AndreiSavici deleted the elwin_elastic_integ_fix_ornl branch November 19, 2024 14:31
mpatrou added a commit that referenced this pull request Nov 25, 2024
Add tests for IqtPresenter tab #37901
Elwin allow processing ILL data #38033
Update Qt connection syntax in Inelastic Interfaces #38119
Update Moments tab instructions and add more tests #38274
Construct the model of OutputPlotOptions widget outside the Presenter class.  #38289
Add identifier for output workspaces in Elwin Interface #37762
MVP for the ResNorm tab of the Inelastic Bayes Fitting interface #38357
Remove deprecated Calculate Paalman Pings tab from Inelastic Corrections #38391
Use std::pair instead of QPair in utility files #38396
Elwin Elastic line integration issue #38392
---------

Co-authored-by: adriazalvarez <adrian.diaz-alvarez@stfc.ac.uk>
Co-authored-by: Applin <robert.applin@stfc.ac.uk>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic ORNL Team Issues and pull requests managed by the ORNL development team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants