Skip to content

Commit

Permalink
fix output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DevlinRocha committed Jan 30, 2025
1 parent cf87b0e commit 1bf491f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/create_lilypad_module/templates/scripts/run_module.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import argparse
import os
import subprocess
from config.constants import (
DOCKER_REPO,
Expand Down Expand Up @@ -34,14 +35,16 @@ def run_module():

local = args.local

output_dir = os.path.abspath("./outputs")

command = (
[
"docker",
"run",
"-e",
f"INPUT={args.input}",
"-v",
"$(pwd)/outputs:/outputs",
f"{output_dir}:/outputs",
f"{DOCKER_REPO}:latest",
]
if local
Expand Down

0 comments on commit 1bf491f

Please sign in to comment.