From 36d52f460ab29b3ef8dcef75f243d22b6b99b840 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:31:31 -0400 Subject: [PATCH] debugging --- tests/docker_yaml_conversion_specification_cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/docker_yaml_conversion_specification_cli.py b/tests/docker_yaml_conversion_specification_cli.py index 03cad8838..ca3b67db3 100644 --- a/tests/docker_yaml_conversion_specification_cli.py +++ b/tests/docker_yaml_conversion_specification_cli.py @@ -29,11 +29,11 @@ def test_run_conversion_from_yaml_cli(self): output = deploy_process( command=( - "docker run -t " + "docker run " f"--volume {self.source_volume}:{self.source_volume} " f"--volume {self.test_folder}:{self.test_folder} " "ghcr.io/catalystneuro/neuroconv:{self.tag} " - f"neuroconv {yaml_file_path} " + f"-t neuroconv {yaml_file_path} " f"--data-folder-path {self.source_volume}/{DATA_PATH} --output-folder-path {self.test_folder} --overwrite" ), catch_output=True, @@ -89,9 +89,9 @@ def test_run_conversion_from_yaml_variable(self): "docker run -t " f"--volume {self.source_volume}:{self.source_volume} " f"--volume {self.test_folder}:{self.test_folder} " - "-e NEUROCONV_YAML=$NEUROCONV_YAML " - "-e NEUROCONV_DATA_PATH=$NEUROCONV_DATA_PATH " - "-e NEUROCONV_OUTPUT_PATH=$NEUROCONV_OUTPUT_PATH " + '-e NEUROCONV_YAML="$NEUROCONV_YAML" ' + '-e NEUROCONV_DATA_PATH="${NEUROCONV_DATA_PATH" ' + '-e NEUROCONV_OUTPUT_PATH="$NEUROCONV_OUTPUT_PATH" ' "ghcr.io/catalystneuro/neuroconv:yaml_variable" ), catch_output=True,