Skip to content

Commit

Permalink
create calibration_results if it doesn't exist already
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaloop committed Sep 6, 2024
1 parent b9859b5 commit 542982e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anipose/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def process_session(config, session_path):
outdir = os.path.join(calibration_path, pipeline_calibration_results)
outname = os.path.join(outdir, outname_base)

os.makedirs(outdir, exist_ok=True)

print(outname)
skip_calib = False
init_stuff = True
Expand Down

0 comments on commit 542982e

Please sign in to comment.