Skip to content

Commit 468188a

Browse files
author
Aaron Finke
committed
fixed get_raw_data in FormatESSNMX to improve file reading performance
1 parent 549fc38 commit 468188a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dxtbx/format/FormatESSNMX.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_raw_data(
8181

8282
else:
8383
for panel in self._get_panels():
84-
spectra = panel["data"][...][:, :, index].astype(np.int32)
84+
spectra = panel["data"][:, :, index].astype(np.int32)
8585
raw_data.append(flumpy.from_numpy(np.ascontiguousarray(spectra)))
8686

8787
return tuple(raw_data)

0 commit comments

Comments
 (0)