Skip to content

Commit

Permalink
Update user_dates.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachHoppinen authored Sep 7, 2023
1 parent c828521 commit 311a4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spicy_snow/IO/user_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_input_dates(date2: Union[str, pd.Timestamp, np.datetime64],

date2 = pd.to_datetime(date2)

assert date2.year > 2016, f"Please enter a date after 2016 for s1 coverage.\
assert date2.year > 2014, f"Please enter a date after 2016 for s1 coverage.\
Current parsed date is {date2}"

assert date2 < datetime.now(), f"Please enter a date in the past"
Expand Down

0 comments on commit 311a4d2

Please sign in to comment.