Skip to content

Commit

Permalink
Fix output-path argument processing
Browse files Browse the repository at this point in the history
The output-path argument hasn't been processed such that it was constantly set to 'install_folder / "output"'.
  • Loading branch information
tik0 authored Jun 12, 2024
1 parent 928127c commit 3d6135e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions syclops/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"-o",
"--output-path",
help="Output path of generated files. Defaults to <install_folder>/output",
default="./output",
default=None,
)
parser.add_argument(
"-d",
Expand Down Expand Up @@ -225,7 +225,9 @@ def _wait_for_debugger():


def _run_syclops_job(args, install_folder: Path, job_description: Path):
output_path = _configure_output_path(install_folder / "output")
output_path = (_configure_output_path(Path(args.output_path).absolute())
if args.output_path
else _configure_output_path(install_folder / "output"))

job_filepath = job_description
asset_catalog_filepath = install_folder / "asset_catalog.yaml"
Expand Down

0 comments on commit 3d6135e

Please sign in to comment.