Skip to content

Conversation

robertapplin
Copy link
Contributor

@robertapplin robertapplin commented Nov 18, 2024

Description of work

This PR moves the H5Util files from the Mantid::DataHandling library to Mantid::Nexus because it is used for loading nexus data using the H5Cpp library. This PR also removes a couple of unused includes in some of the Mantid::Nexus library files.

Part of #38332

To test:

Mainly code review. Tests should pass.

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: Core Issue and pull requests at ISIS that relate to Core features and functions labels Nov 18, 2024
@robertapplin robertapplin added this to the Release 6.12 milestone Nov 18, 2024
@robertapplin robertapplin force-pushed the 38332-move-nexus-reading-code-to-nexus-library branch from 0a76c8b to 4431232 Compare November 18, 2024 18:01
@robertapplin robertapplin marked this pull request as ready for review November 18, 2024 18:08
@robertapplin robertapplin force-pushed the 38332-move-nexus-reading-code-to-nexus-library branch from 4431232 to 9581ac8 Compare November 18, 2024 18:54
Copy link
Member

@martyngigg martyngigg left a comment

Choose a reason for hiding this comment

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

Looks good to me - just a comment on static vs reinterpret cast.

Nice work on adding missing consts and cleaning up some cppcheck violations :)

@robertapplin robertapplin force-pushed the 38332-move-nexus-reading-code-to-nexus-library branch 5 times, most recently from a695487 to 29baa8f Compare November 19, 2024 12:16
@robertapplin robertapplin force-pushed the 38332-move-nexus-reading-code-to-nexus-library branch from 29baa8f to f39c5c2 Compare November 19, 2024 15:52
@peterfpeterson peterfpeterson merged commit dbfc55f into mantidproject:main Nov 21, 2024
10 checks passed
peterfpeterson pushed a commit to peterfpeterson/mantid that referenced this pull request Nov 21, 2024
This is a squashed version of mantidproject#38406

Move H5Util file to Framework/Nexus library

Remove unused includes and add where appropriate

Fix cppcheck warnings in loading code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISIS: Core Issue and pull requests at ISIS that relate to Core features and functions Maintenance Unassigned issues to be addressed in the next maintenance period.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants