Skip to content

Conversation

robertapplin
Copy link
Contributor

@robertapplin robertapplin commented Nov 13, 2024

Description of work

This PR removes the use of QPair for std::pair in the WorkspaceUtils and InterfaceUtils files used in much of the Spectroscopy code.

To test:

Code review and follow these tests
https://developer.mantidproject.org/Testing/Inelastic/DataProcessorTests.html

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.

@robertapplin robertapplin added Maintenance Unassigned issues to be addressed in the next maintenance period. ISIS: Spectroscopy Issue and pull requests relating to Muons, Indirect and Inelastic at ISIS labels Nov 13, 2024
@robertapplin robertapplin added this to the Release 6.12 milestone Nov 13, 2024
@robertapplin robertapplin marked this pull request as ready for review November 13, 2024 18:04
@robertapplin robertapplin force-pushed the 0-use-std-structures-in-spectroscopy-utility-files branch from 72f7e64 to 8b07f39 Compare November 14, 2024 09:26
Copy link
Contributor

@warunawickramasingha warunawickramasingha left a comment

Choose a reason for hiding this comment

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

Followed the test instructions and all working as expected! Code changes look good and I am happy to approve!

@SilkeSchomann SilkeSchomann self-assigned this Nov 18, 2024
@SilkeSchomann SilkeSchomann merged commit 68d5f6c into mantidproject:main Nov 18, 2024
10 checks passed
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
ISIS: Spectroscopy Issue and pull requests relating to Muons, Indirect and Inelastic at ISIS Maintenance Unassigned issues to be addressed in the next maintenance period.
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants