Skip to content

Commit

Permalink
FormatSMVRigakuSaturnNoTS pedestal fix (#746)
Browse files Browse the repository at this point in the history
Fix position of enclosing brackets to remove bug in getting the image pedestal.
  • Loading branch information
dagewa authored Aug 16, 2024
1 parent 3a42086 commit 74fd1f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/746.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``FormatSMVRigakuSaturnNoTS``: Fix a bug in reading the image pedestal from headers.
2 changes: 1 addition & 1 deletion src/dxtbx/format/FormatSMVRigakuSaturnNoTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 74fd1f1

Please sign in to comment.