Skip to content

Commit

Permalink
Check inverted 🤦‍♂️
Browse files Browse the repository at this point in the history
Thanks to @spmeisburger for pointing this out
  • Loading branch information
graeme-winter committed Jan 24, 2024
1 parent 00acdfc commit 21edfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxtbx/format/FormatNXmxEigerFilewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21edfe0

Please sign in to comment.