From 5f4b4929b8bae67d0ca9b32838c082ed11cbbb1c Mon Sep 17 00:00:00 2001 From: David Waterman Date: Fri, 28 Jul 2023 14:37:58 +0100 Subject: [PATCH] Address review comments --- src/dxtbx/format/FormatCBFMiniEigerChessID7B2.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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))