Skip to content

Commit

Permalink
Merge pull request #13 from quantifyearth/mwd-create-dir
Browse files Browse the repository at this point in the history
Create the output directory for collated data if necessary
  • Loading branch information
mdales authored Jan 29, 2025
2 parents 905749a + 82b1e4c commit 637c6f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions validation/collate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ def collate_data(
print(f"Found no manifests in {aoh_results}", file=sys.stderr)
sys.exit(-1)

output_dir, _ = os.path.split(output_path)
os.makedirs(output_dir, exist_ok=True)

res = []
keys = None
for manifest in manifests:
Expand Down

0 comments on commit 637c6f9

Please sign in to comment.