Skip to content

Commit

Permalink
Merge pull request #117 from colleenjg/cjg-dev
Browse files Browse the repository at this point in the history
Make save folders year first by default.
  • Loading branch information
TomGeorge1234 authored Nov 8, 2024
2 parents da09b44 + cee39ae commit 906aab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratinabox/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def save_figure(
return

# make today-specific directory inside figure directory
today = datetime.strftime(datetime.now(), "%d_%m_%y")
today = datetime.strftime(datetime.now(), "%y_%m_%d")
figdir = os.path.join(figure_directory, f"{today}")
os.makedirs(figdir, exist_ok=True)

Expand Down

0 comments on commit 906aab5

Please sign in to comment.