diff --git a/ptypy/experiment/hdf5_loader.py b/ptypy/experiment/hdf5_loader.py index dce96c2fe..60e57eda9 100644 --- a/ptypy/experiment/hdf5_loader.py +++ b/ptypy/experiment/hdf5_loader.py @@ -612,9 +612,11 @@ def _reorder_preview_indices(self): if self.p.frameorder.indices is None: return order = np.array(self.p.frameorder.indices, dtype=int) + print(order.max(), self.preview_indices.shape) if (order.max() > self.preview_indices.shape[-1]): log(3, "Given frameorder does not match dimensionality of data, keeping the original order") return + log(3, "Reordering indices") self.preview_indices = self.preview_indices.T[order].T def load_unmapped_raster_scan(self, indices):