Skip to content

Commit

Permalink
FLASH PR: Add None to tof_mode type and default value of None on init (
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc committed May 28, 2024
2 parents 619bdd4 + a17e6ad commit 4d2ef3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantidimaging/gui/windows/spectrum_viewer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class SpectrumViewerWindowModel:
tof_range: tuple[int, int] = (0, 0)
tof_plot_range: tuple[float, float] | tuple[int, int] = (0, 0)
_roi_ranges: dict[str, SensibleROI]
tof_mode: ToFUnitMode
tof_mode: ToFUnitMode = ToFUnitMode.WAVELENGTH
tof_data: np.ndarray | None = None
tof_range_full: tuple[int, int] = (0, 0)

Expand Down

0 comments on commit 4d2ef3e

Please sign in to comment.