diff --git a/src/dxtbx/format/FormatCBFMiniEigerChessID7B2.py b/src/dxtbx/format/FormatCBFMiniEigerChessID7B2.py index 99d4f29a5..9bcee5b52 100644 --- a/src/dxtbx/format/FormatCBFMiniEigerChessID7B2.py +++ b/src/dxtbx/format/FormatCBFMiniEigerChessID7B2.py @@ -1,8 +1,3 @@ -""" -An implementation of the FormatCBFMiniEiger image reader for the Eiger2 16M -detector at the CHESS ID7B2 beamline, which has an inverted goniometer axis. -""" - from __future__ import annotations import sys @@ -21,16 +16,12 @@ def understand(image_file): header = FormatCBFMiniEiger.get_cbf_header(image_file) for record in header.split("\n"): - if "Detector: Dectris EIGER2 Si 16M, S/N E-32-0123" in record: + if "# Detector: Dectris EIGER2 Si 16M, S/N E-32-0123" in record: return True return False def _goniometer(self): - """Return a model for a simple single-axis goniometer. This should - probably be checked against the image header, though for miniCBF - there are limited options for this.""" - return self._goniometer_factory.known_axis((-1, 0, 0))