Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move nexus reading code - ornl-next #38436

Conversation

peterfpeterson
Copy link
Member

@peterfpeterson peterfpeterson commented Nov 21, 2024

This is a squashed version of mantidproject#38379

Use NexusHDF5Descriptor for LoadMcStas algorithm

Use HDF5 library directly to separate event and histogram entries

Add H5 utility functions

Read instrument xml from H5File handle

Use HDF5 API to read event slabs

Get detector ID to workspace Index map outside of for loop

Use HDF5 api for loading histogram entry data

Only pass group path and no type to readEventData

Avoid copying read vector upon return

Remove unused header includes

Use H5::H5Object where possible instead of templated type

Use H5 cpp api for confidence check

Avoid copying string attribute upon return

Fix cppcheck warnings

Read string attribute as a std::string

Update tests in LoadMcStasTest
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
@peterfpeterson peterfpeterson added ornl-next A copy of a branch into the ornl-next fork Maintenance Unassigned issues to be addressed in the next maintenance period. labels Nov 21, 2024
@peterfpeterson peterfpeterson merged commit b9af344 into mantidproject:ornl-next Nov 21, 2024
9 of 10 checks passed
@peterfpeterson peterfpeterson deleted the 38332-move-nexus-reading-code-ornlnext branch November 21, 2024 18:53
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. ornl-next A copy of a branch into the ornl-next fork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants