Skip to content

Commit

Permalink
Clean Clutter
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLightSource-build-server committed Nov 5, 2023
1 parent 2562aa7 commit 4c59ebc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dxtbx/format/FormatNXmxEigerFilewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def _get_nxmx(self, fh: h5py.File):
# data_size is reversed - we should probably be more specific in when
# we do this, i.e. check data_size is in a list of known reversed
# values
known_safe = [(1082,1035),]
known_safe = [
(1082, 1035),
]
for module in nxdetector.modules:
if not tuple(module.data_size) in known_safe:
module.data_size = module.data_size[::-1]
Expand Down

0 comments on commit 4c59ebc

Please sign in to comment.