Skip to content

Commit

Permalink
fix: possibly unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Aug 25, 2023
1 parent 1cdda1c commit 864f59b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def create_prediction_times(

if pt_outcome_timestamps is not None:
outcome_timestamp = pt_outcome_timestamps[0]
else:
outcome_timestamp = None

prediction_times += patient.to_prediction_times(
lookbehind=lookbehind,
Expand Down

0 comments on commit 864f59b

Please sign in to comment.