research: karman reproduce refuses an existing output directory

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-10-31 10:15:43 +00:00
co-authored by Claude Opus 5.5
parent c2936a400e
commit ded0c52975
+1 -1
View File
@@ -56,7 +56,7 @@ def main():
here = os.path.realpath(os.path.join(os.path.dirname(__file__), "..", ".."))
if os.path.realpath(args.out).startswith(here):
raise SystemExit("--out must be outside the checkout")
os.makedirs(args.out, exist_ok=True)
os.makedirs(args.out) # fresh directory only; never overwrite results
sys.dont_write_bytecode = True # import only: write nothing into the DynamisLab tree
sys.path.insert(0, os.path.join(args.dynamis, "src"))