diff --git a/newsfragments/746.bugfix b/newsfragments/746.bugfix new file mode 100644 index 000000000..4eddc21db --- /dev/null +++ b/newsfragments/746.bugfix @@ -0,0 +1 @@ +``FormatSMVRigakuSaturnNoTS``: Fix a bug in reading the image pedestal from headers. diff --git a/src/dxtbx/format/FormatSMVRigakuSaturnNoTS.py b/src/dxtbx/format/FormatSMVRigakuSaturnNoTS.py index 92fae506e..b0eb68bb3 100644 --- a/src/dxtbx/format/FormatSMVRigakuSaturnNoTS.py +++ b/src/dxtbx/format/FormatSMVRigakuSaturnNoTS.py @@ -157,7 +157,7 @@ def _detector(self): pixel_size, image_size, (min_trusted_value, max_trusted_value), - pedestal=float(self._header_dictionary.get("IMAGE_PEDESTAL"), 0), + pedestal=float(self._header_dictionary.get("IMAGE_PEDESTAL", 0)), ) def _beam(self):