From 6e5189fe1af5c6b4a93192400bee79688ebe1edc Mon Sep 17 00:00:00 2001 From: Mathieu Boudreau Date: Fri, 24 May 2024 22:27:22 -0300 Subject: [PATCH] Set repo --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index d650e27..66a0240 100755 --- a/run.sh +++ b/run.sh @@ -50,12 +50,12 @@ cp -r $USER_SCRIPT_DIR/.* /tmp/$UUID/ echo "[INFO] Creating and starting the container '$PIPELINE_NAME' with image $IMAGE..." docker run --rm --name "$PIPELINE_NAME" -d \ - -v "/tmp/$UUID:/qsmci" \ - -v "$OUTPUT_DIR:/qsmci/output" \ + -v "/tmp/$UUID:/seg-ci" \ + -v "$OUTPUT_DIR:/seg-ci/output" \ "$IMAGE" tail -f /dev/null echo "[INFO] Running $USER_SCRIPT_DIR/main.sh in container..." -docker exec "$PIPELINE_NAME" bash -c "cd /qsmci && chmod +x main.sh && ./main.sh" +docker exec "$PIPELINE_NAME" bash -c "cd /seg-ci && chmod +x main.sh && ./main.sh" echo "[INFO] Consolidating output in output/${PIPELINE_NAME}" OUTPUT_FILES=$(ls output/${PIPELINE_NAME}/*.nii* 2> /dev/null | wc -l)