From 0e7bef9c31b100e96a06a3c56c6ca461cb1fa624 Mon Sep 17 00:00:00 2001 From: esoteric-ephemera Date: Fri, 3 Apr 2026 08:56:25 -0700 Subject: [PATCH] fix mkdir --> makedirs --- fireworks/queue/queue_launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fireworks/queue/queue_launcher.py b/fireworks/queue/queue_launcher.py index 190b9e1b4..7e3cd5c6d 100644 --- a/fireworks/queue/queue_launcher.py +++ b/fireworks/queue/queue_launcher.py @@ -232,7 +232,7 @@ def rapidfire( if not block_dir.startswith("block_"): raise ValueError(f"Invalid name {block_dir}, block dirs must start with 'block_") block_dir = os.path.abspath(os.path.join(launch_dir, block_dir)) - os.mkdir(block_dir, exist_ok=True) + os.makedirs(block_dir, exist_ok=True) elif prev_blocks and not ALWAYS_CREATE_NEW_BLOCK: block_dir = os.path.abspath(os.path.join(launch_dir, prev_blocks[0])) l_logger.info(f"Found previous block, using {block_dir}")