From 6e5e3039d1c0b07fb22f5d6088dcde67aa7c6cc1 Mon Sep 17 00:00:00 2001 From: David Waterman Date: Thu, 20 Jul 2023 12:48:51 +0100 Subject: [PATCH] Add note about Rigaku non-zero-padded image templates, which cause problems with dials.import. --- src/dxtbx/format/FormatROD.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/dxtbx/format/FormatROD.py b/src/dxtbx/format/FormatROD.py index 7e0f59d4f..01b0c8fe8 100644 --- a/src/dxtbx/format/FormatROD.py +++ b/src/dxtbx/format/FormatROD.py @@ -1,9 +1,14 @@ -"""Support for the Rigaku Oxford Diffraction image format""" +"""Support for the Rigaku Oxford Diffraction image format + +NB: Rigaku datasets may use a non-zero-padded image incremental serial number. +At present, this is not compatible with assumptions in dxtbx. In order to +import these datasets, the images should be renumbered first. + +See https://github.com/cctbx/dxtbx/issues/646 for details.""" # Takanori Nakane took David Waterman's code to parse headers from # https://github.com/cctbx/cctbx_project/commit/b95467f3b2a70a37eeb820ea294128a32551700c # and heavily modified it. The original commit in the cctbx_project repository is orphan now. - from __future__ import annotations __author__ = "David Waterman, Takanori Nakane"