Skip to content

Commit

Permalink
Add safety check to get_tma_slew_event
Browse files Browse the repository at this point in the history
  • Loading branch information
b1quint committed Sep 27, 2023
1 parent 20fafe4 commit a53ca69
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ def get_tma_slew_event(day_obs: int, seq_number: int) -> TMAEvent:
f" that match {seq_number} seq_number."
)

assert single_event[0].seq_num == seq_number
return single_event[0]


Expand Down

0 comments on commit a53ca69

Please sign in to comment.