From 21edfe0f0038a0b7cc12439c89f96d80eaab523a Mon Sep 17 00:00:00 2001 From: Graeme Winter Date: Wed, 24 Jan 2024 08:49:46 +0000 Subject: [PATCH] =?UTF-8?q?Check=20inverted=20=F0=9F=A4=A6=E2=80=8D?= =?UTF-8?q?=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to @spmeisburger for pointing this out --- src/dxtbx/format/FormatNXmxEigerFilewriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxtbx/format/FormatNXmxEigerFilewriter.py b/src/dxtbx/format/FormatNXmxEigerFilewriter.py index df104f06c..177c27fb4 100644 --- a/src/dxtbx/format/FormatNXmxEigerFilewriter.py +++ b/src/dxtbx/format/FormatNXmxEigerFilewriter.py @@ -55,7 +55,7 @@ def _get_nxmx(self, fh: h5py.File): .decode() .replace("release-", "") ) - if version.parse("2022.1.2") < version.parse(fw_version_string): + if version.parse("2022.1.2") > version.parse(fw_version_string): for module in nxdetector.modules: module.data_size = module.data_size[::-1] return nxmx_obj