Skip to content

Commit 998cf39

Browse files
committed
Minor fix in build-tools/block-data-plots/collect_data.py
1 parent c56cbcb commit 998cf39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-tools/block-data-plots/collect_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import argparse
2+
import os
23
import subprocess
34
from pathlib import Path
45

@@ -14,6 +15,7 @@
1415

1516
def collect_data(args):
1617
if args.output_file is None:
18+
os.makedirs(DEFAULT_OUTPUT_DIR, exist_ok=True)
1719
output_file = DEFAULT_OUTPUT_DIR.joinpath(
1820
DEFAULT_OUTPUT_FILE_NAME_FMT.format(chain_type=args.chain_type)
1921
)

0 commit comments

Comments
 (0)