You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dials.import xtal_3_2.nxs
dials.python ->
from dxtbx.model import experiment_list
e = experiment_list.ExperimentList.from_file("imported.expt")
i = e[0].imageset
len(i) -> 80
data = i.reader().read(100)
does not fail - because this data includes a virtual data set at /entry/data/data which is pointing at internal references to /entry/data/data_000001 which is itself an external reference to another file which actually contains 80 images in this case. But the data are doubled as the VDS and external links are both counted.
In normal operation this is just funny - as in odd - because we always know the number of images, but it is still something of a sleeper which could catch us out later, in particular with more interesting uses of VDS.
Proposed fix: either read the VDS or reference the external data and don't do both
The text was updated successfully, but these errors were encountered:
…286)
Fix bug in nexus.DataFactory that allowed access to twice as many images as available on disk for VDS nexus files.
If the node contains a VDS, then only use this dataset.
Fixes#285
Bugfixes
--------
- Don't interpret windows paths as URIs, causing failure to import images (cctbx#284).
- Fix bug in ``nexus.DataFactory`` that allowed access to twice as many images as available on disk for VDS nexus files (cctbx#285).
- Bug fix for live per-image analysis of HDF5/SWMR files, ensuring that a process can see data for images written after a process first sees a given data file (cctbx#289).
- Bug fix for generating XDS.INP for eiger datasets - ensure that ``DETECTOR=EIGER (not PILATUS)`` (cctbx#292).
Pointed out by @rjgildea
80 image grid scan as input:
does not fail - because this data includes a virtual data set at
/entry/data/data
which is pointing at internal references to/entry/data/data_000001
which is itself an external reference to another file which actually contains 80 images in this case. But the data are doubled as the VDS and external links are both counted.In normal operation this is just funny - as in odd - because we always know the number of images, but it is still something of a sleeper which could catch us out later, in particular with more interesting uses of VDS.
Proposed fix: either read the VDS or reference the external data and don't do both
The text was updated successfully, but these errors were encountered: