Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuboudreau committed May 25, 2024
1 parent 5da61c0 commit 582ff71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ docker run --rm --name "$PIPELINE_NAME" -d \

echo "[INFO] Running $USER_SCRIPT_DIR/main.sh in container..."

sudo chmod +x algos/ads_2/main.sh

docker exec "$PIPELINE_NAME" bash -c "cd /seg_ci && sudo chmod +777 main.sh && ./main.sh"
docker exec "$PIPELINE_NAME" -u root bash -c "chmod +x /seg_ci/main.sh"
docker exec "$PIPELINE_NAME" bash -c "cd /seg_ci && ./main.sh"

echo "[INFO] Consolidating output in output/${PIPELINE_NAME}"
OUTPUT_FILES=$(ls output/${PIPELINE_NAME}/*.nii* 2> /dev/null | wc -l)
Expand Down

0 comments on commit 582ff71

Please sign in to comment.