Skip to content

Commit

Permalink
Change default value of experiment_type in show_beam to None.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed May 2, 2024
1 parent 93e9e56 commit 8abac59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dials/command_line/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8abac59

Please sign in to comment.