Closed DominicOram closed 6 months ago
Thank you: once I have a set of 3rd party tests to execute I will add them to this ticket also
Moved this issue here because it's really a Nexgen issue - nothing should need to change in Hyperion to make this work, and the test might as well live here too
@graeme-winter @DominicOram How urgently do we want to fix this immediate issue compared with doing everything? i.e. deploy the changes described above and then implement any other missing data the tests expose, or vice versa?
I think we can do it in two PRs, one to fix the immediate missing parts and a second to do the wider test. I don't think we should break it into 2 issues though as I'd worry we'd end up doing part 1 and never getting round to part 2. Given it's not been noticed until now I don't think we need to rush to do the first part, we would probably end up naturally getting it merged/released in a week or two anyway.
detector_number
should have already been in there but it is specified in some eiger mapping as serial_number
- which seems to be the used form for i24 - so do we want both of these?
According to https://manual.nexusformat.org/classes/base_classes/NXdetector.html#nxdetector detector_number
and serial_number
are both in the there but different things:
Not sure which we are talking about here
it sounds like they (GP) are using detector_number
to refer to the serial number; in our meta
files likewise _dectris/detector_number
contains the serial number as a string... so do we replicate GDA behaviour or conform to spec?
I defer to @graeme-winter but I would prefer conform to spec.
@graeme-winter @DominicOram How urgently do we want to fix this immediate issue compared with doing everything? i.e. deploy the changes described above and then implement any other missing data the tests expose, or vice versa?
I would recommend:
h5ls -r
to see how it differs from the GDA version, fix those if straightforwardFeel reasonable?
it sounds like they (GP) are using
detector_number
to refer to the serial number; in ourmeta
files likewise_dectris/detector_number
contains the serial number as a string... so do we replicate GDA behaviour or conform to spec?
This should be serial number
The spec detector number is the use case where you have multiple similar detectors, here the request is for "detector number" i.e. the serial number of the detector, IIRC, which is what we link for GDA
Yes, it's what we link in GDA, but it's what nexgen otherwise (correctly, according to the doc linked above) calls serial_number
Yes, it's what we link in GDA, but it's what nexgen otherwise (correctly, according to the doc linked above) calls
serial_number
If that is correct according to the NXmx specification, then it is correct and we can assert it as such
I don't have a canonical DECTRIS file-writer version to hand to check... but if the standard says "do this" we can refer compaints there 👍
Can we spin the "test comparing nexgen to legacy nexus files" into a new issue and close this one with the immediate changes made?
Sure, but I still think it's quite high priority so can you add the new issue near the top of the sprint?
A user has noticed that the Hyperion nexus file does not have all the fields/attributes that a GDA file had:
Acceptance Criteria