Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Conversation

rtuck99
Copy link
Contributor

@rtuck99 rtuck99 commented May 14, 2024

Does part of DiamondLightSource/nexgen#231

Link to dodal PR (if required): N/A
(remember to update setup.cfg with the dodal commit tag if you need it for tests to pass!)

To test:

Unit tests should pass

The expected/exceptional vaues have NOT been verified; the values have been entered based on what the code currently does, on the expectation that it works.

Also perhaps we should split into two tests, one against GDA old data, and one against nexus standard conformance.

Another Q is, whether this test or something like it ought to be in nexgen rather than here - I am open to suggestions

@@ -71,6 +75,152 @@ def plan():
return plan()


def dectris_device_mapping(meta_filename: str):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps when we get more sample files with other detectors we could factor this out and drive this from the test data files

@rtuck99 rtuck99 requested review from d-perl and noemifrisina May 14, 2024 09:38
Copy link
Contributor

@d-perl d-perl left a comment

Choose a reason for hiding this comment

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

brilliant, thanks!

@d-perl
Copy link
Contributor

d-perl commented May 14, 2024

I would like to merge this to add on to it but leave the issue open until we're sure about the contents of the exceptions etc

@d-perl d-perl merged commit 9834c18 into 1350_nexus_file_cannot_be_read_by_imginfo May 14, 2024
5 of 6 checks passed
@d-perl d-perl deleted the nexgen_231_thoroughly_test_nexgen_created_files_against_gda branch May 14, 2024 14:05
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this pull request Aug 23, 2024
…Source/nexgen_231_thoroughly_test_nexgen_created_files_against_gda

Nexgen 231 thoroughly test nexgen created files against gda
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants