-
Notifications
You must be signed in to change notification settings - Fork 4
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
bad_alloc
error when loading NMX nexus file
#259
Comments
This is an NMX file, not DREAM. The offending commit is 3a97343 group_dims = ('x_pixel_offset', 'y_pixel_offset', 'z_pixel_offset')
self._signal.shape = (1280, 1280, 8097) which gets propagated to The |
bad_alloc
error when loading Dream nexus filebad_alloc
error when loading NMX nexus file
I presume this is related to the NMX now having (or still not having?) an |
NMX files now have an |
Looks like 8097 is the number of pulses in detector panel 0, not the number of events. The other panels have no pulses or events. |
Maybe |
Yes this is definitely part of the issue. But the length of |
I think it happens the other way round: This claims to be the third axis of the data/detector_number, therefore ScippNexus assigns it the dim label of the third axis. |
Is it just a typo in the commit @jl-wynen referenced? Should
be
? |
See https://git.esss.dk/dmsc-nightly/dmsc-nightly/-/jobs/53623
On scippnexus 24.11.1:
on scippnexus 24.3.1 this does not happen.
The text was updated successfully, but these errors were encountered: