From 8abac5993b3939a930836bc71bf5d9b11bf28dfc Mon Sep 17 00:00:00 2001 From: davidmcdonagh Date: Thu, 2 May 2024 09:44:24 +0100 Subject: [PATCH] Change default value of experiment_type in show_beam to None. --- src/dials/command_line/show.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dials/command_line/show.py b/src/dials/command_line/show.py index a1019b16ba..8883bb1638 100644 --- a/src/dials/command_line/show.py +++ b/src/dials/command_line/show.py @@ -88,9 +88,7 @@ def beam_centre_raw_image_px(detector, s0): return x_px + offset[0], y_px + offset[1] -def show_beam( - detector, beam, experiment_type: ExperimentType = ExperimentType.ROTATION -): +def show_beam(detector, beam, experiment_type: ExperimentType | None = None): # standard static beam model string s = str(beam)