We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56cbcb commit 998cf39Copy full SHA for 998cf39
build-tools/block-data-plots/collect_data.py
@@ -1,4 +1,5 @@
1
import argparse
2
+import os
3
import subprocess
4
from pathlib import Path
5
@@ -14,6 +15,7 @@
14
15
16
def collect_data(args):
17
if args.output_file is None:
18
+ os.makedirs(DEFAULT_OUTPUT_DIR, exist_ok=True)
19
output_file = DEFAULT_OUTPUT_DIR.joinpath(
20
DEFAULT_OUTPUT_FILE_NAME_FMT.format(chain_type=args.chain_type)
21
)
0 commit comments