Skip to content

Commit 52a02bf

Browse files
committed
Think I got them the wrong way round 😣
1 parent 55ba3e1 commit 52a02bf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎src/dxtbx/format/FormatNXmxEigerFilewriter.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ def _get_nxmx(self, fh: h5py.File):
5050

5151
# Some firmware versions had the detector dimensions swapped.
5252
swapped_dims = {
53-
(4362, 4148),
54-
(3262, 3108),
55-
(4362, 4148),
56-
(3262, 3108),
57-
(2162, 2068),
58-
(1062, 1028),
59-
(512, 1028),
60-
(512, 4148),
61-
(512, 2068),
53+
(4148, 4362),
54+
(3108, 3262),
55+
(4148, 4362),
56+
(3108, 3262),
57+
(2068, 2162),
58+
(1028, 1062),
59+
(1028, 512),
60+
(4148, 512),
61+
(2068, 512),
6262
}
6363
for module in nxdetector.modules:
6464
if (tuple(module.data_size)) in swapped_dims:

0 commit comments

Comments
 (0)