Skip to content

Conversation

peterfpeterson
Copy link
Member

@peterfpeterson peterfpeterson commented Feb 11, 2025

Rename NexusDescriptor to LegacyNexusDescriptor, modify it to use the LegacyNexus functions, and update the muon loading algorithms to use it.

This pushes more of the code used only by muons out of the way of the upcoming NeXus API rewrite.

Refs #38332

To test:

This is a refactor with no change in functionality. The existing tests should be enough and no release notes are required.


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.

@peterfpeterson peterfpeterson added the Maintenance Unassigned issues to be addressed in the next maintenance period. label Feb 11, 2025
@peterfpeterson peterfpeterson added this to the Release 6.13 milestone Feb 11, 2025
@peterfpeterson peterfpeterson force-pushed the 38332_legacy_descriptor branch from 765f2d6 to beb759b Compare February 11, 2025 21:56
@peterfpeterson peterfpeterson marked this pull request as ready for review February 11, 2025 22:12
@peterfpeterson peterfpeterson force-pushed the 38332_legacy_descriptor branch 2 times, most recently from ca3871f to f0e309f Compare February 11, 2025 22:27
@sf1919
Copy link
Contributor

sf1919 commented Feb 17, 2025

We need to get #38845 in first in case it causes conflicts with this one.

@peterfpeterson peterfpeterson force-pushed the 38332_legacy_descriptor branch from bf2c46a to c939520 Compare February 17, 2025 20:50
@peterfpeterson peterfpeterson added the Technical Debt Marks a piece of work to address technical debt introduced to solve a problem quickly label Feb 17, 2025
@peterfpeterson peterfpeterson force-pushed the 38332_legacy_descriptor branch from c939520 to 68b3ec7 Compare February 18, 2025 13:15
Copy link
Contributor

@rboston628 rboston628 left a comment

Choose a reason for hiding this comment

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

Changes are trivial, affecting only names, namespaces, or subpackage building, but should not impact any existing code.

@KedoKudo KedoKudo merged commit 6b0d9e5 into mantidproject:main Feb 19, 2025
10 checks passed
peterfpeterson added a commit to peterfpeterson/mantid that referenced this pull request Feb 19, 2025
This is a squashed version of mantidproject#38824

Disambiguate which NeXus::File is actually being used

Rename NexusDescriptor to LegacyNexusDescriptor

Add LegacyNexus
@rboston628 rboston628 added the Nexus Pull requests that are part of Nexus Refactor in issue #38332 label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Unassigned issues to be addressed in the next maintenance period. Nexus Pull requests that are part of Nexus Refactor in issue #38332 Technical Debt Marks a piece of work to address technical debt introduced to solve a problem quickly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants