We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a676e commit 65bf793Copy full SHA for 65bf793
bsyncr_server/main.py
@@ -59,7 +59,7 @@ def format_failure(failure):
59
f"Must provide one of the following: {', '.join(MODEL_CHOICES)}",
60
)
61
62
- with tempfile.TemporaryDirectory() as tmpdirname:
+ with tempfile.mkdtemp() as tmpdirname:
63
completed_process = subprocess.run(
64
["Rscript", R_SCRIPT_PATH, INPUT_FILE_PATH, model_type, tmpdirname],
65
0 commit comments