From 4c59ebc305affd957b91e41acc431304c0c35ee3 Mon Sep 17 00:00:00 2001 From: DiamondLightSource-build-server Date: Sun, 5 Nov 2023 05:11:01 +0000 Subject: [PATCH] Clean Clutter --- src/dxtbx/format/FormatNXmxEigerFilewriter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dxtbx/format/FormatNXmxEigerFilewriter.py b/src/dxtbx/format/FormatNXmxEigerFilewriter.py index a3e73c145..fbfde2929 100644 --- a/src/dxtbx/format/FormatNXmxEigerFilewriter.py +++ b/src/dxtbx/format/FormatNXmxEigerFilewriter.py @@ -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]