Skip to content

Commit

Permalink
Remove assertion limiting datetimes to 0,6,12,18
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Nov 7, 2024
1 parent c5847cd commit ae4aebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai_models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _datetimes(self, dates):
assert isinstance(time, int)
if time < 100:
time *= 100
assert time in (0, 600, 1200, 1800), time
# assert time in (0, 600, 1200, 1800), time

lagged = self.lagged
if not lagged:
Expand Down Expand Up @@ -300,7 +300,7 @@ def datetimes(self, step=0):
if time < 100:
time *= 100

assert time in (0, 600, 1200, 1800), time
# assert time in (0, 600, 1200, 1800), time

full = datetime.datetime(
date // 10000,
Expand Down

0 comments on commit ae4aebf

Please sign in to comment.