From 8da1b977341b8380f77a1deef83f351153cb5051 Mon Sep 17 00:00:00 2001 From: Tommaso Comparin <3862206+tcompa@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:18:18 +0200 Subject: [PATCH] Align tests v1 with v2 --- testing/demos-v1/run_demos.sh | 9 ++++++--- testing/demos-v2/run_demos.sh | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/testing/demos-v1/run_demos.sh b/testing/demos-v1/run_demos.sh index 71561df..44de046 100644 --- a/testing/demos-v1/run_demos.sh +++ b/testing/demos-v1/run_demos.sh @@ -41,9 +41,12 @@ cp -r /home/fractal_share/Resources/images/10.5281_zenodo.7057076 images/ # them broadly accessible ZARRDIR01=./01_cardio_tiny_dataset/output_cardiac-tiny ZARRDIR02=./02_cardio_small/output-cardio-2x2-zenodo-subset -for ZARRDIR in "$ZARRDIR01" "$ZARRDIR02"; do - mkdir -p "$ZARRDIR" - chmod -R 777 "$ZARRDIR" +PARAMETERSDIR01=./01_cardio_tiny_dataset/Parameters +PARAMETERSDIR02=./02_cardio_small/Parameters + +for THISDIR in "$ZARRDIR01" "$ZARRDIR02" "$PARAMETERSDIR01" "$PARAMETERSDIR02"; do + mkdir -p "$THISDIR" + chmod -R 777 "$THISDIR" done # Whoami diff --git a/testing/demos-v2/run_demos.sh b/testing/demos-v2/run_demos.sh index 96a0491..71fb05d 100644 --- a/testing/demos-v2/run_demos.sh +++ b/testing/demos-v2/run_demos.sh @@ -1,6 +1,6 @@ #!/bin/bash -# set -e +set -e VERSION="[v2]"