Make example NXreflection files more like base classes#19
Make example NXreflection files more like base classes#19
Conversation
…ons as a base class (see nexusformat/definitions#727)
prjemian
left a comment
There was a problem hiding this comment.
No such base class: NXdials
dials:NXdials
@NX_class = NXdials
|
hang on, those comments are from viewing content in master |
|
time to rename |
|
from punx
|
|
Right, NXdials is something from a few years ago that didn't make the jump to NeXus itself. I think it's extra glue to help DIALS with NXreflections. I'm not sure if it is relevant anymore. I'll ask around in DIALS land but I don't think it matters for this PR. |
|
punx is also telling me (but I'm not certain I can trust it for this to be an error yet):
These fields are defined in the NXmx definition that appears in v2020.1rc2 which is used for validation. punx's validation of data files with application definitions needs serious work; this is an example. |
|
Those are optional fields and punx does not yet understand about that possibility. Ignore that finding, then. |
|
NXdials does matter. It is not allowed in a NeXus file. See the second bullet point after https://manual.nexusformat.org/datarules.html. Basically, you must only use the |
|
my imagination suggests |
|
Thanks @prjemian! I've created an issue here: dials/dials#1124. Do you want to hold this PR though? Or create a separate issue about this? For me, the dials issue is sufficient. |
|
I believe that a quick decision is not so likely. Are you OK with delaying? |
|
Whatever it takes is fine, since isn't part of the NeXus release. I do think the NXdials thing and the intent of this pull request are being conflated. This pull request is just to sync with nexusformat/definitions#752. |
|
The only problem is adding a data file with a non-compliant component like that tempts others to follow the practice. Can you change that for the deposition here, then revise it after consideration from dials/dials? |
|
@prjemian |
Should be merged concurrently with nexusformat/definitions#752