Skip to content

Commit 9091dd5

Browse files
.mrc year transition
1 parent b8cd60f commit 9091dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,12 @@ def process_mrc(i, concat, exp_folder=None):
375375
hour = 24
376376
day = (dt - datetime.timedelta(hours=1)).day
377377
month = (dt - datetime.timedelta(hours=1)).month
378+
year = (dt - datetime.timedelta(hours=1)).year
378379
else:
379380
hour = dt.hour
380381
day = dt.day
381382
month = dt.month
383+
year = dt.year
382384

383385
# writing the current files
384386
with open(

0 commit comments

Comments
 (0)