Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Jul 31, 2024
1 parent 524ab1a commit be6ff5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris/_spectrograph/_spectrograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def from_fits(

if window in windows:
index_window = windows.index(window)
else:
else: # pragma: nocover
raise ValueError(f"{window=} not in {windows=}")

hdu_prototype = hdul_prototype[index_window]
Expand Down

0 comments on commit be6ff5e

Please sign in to comment.