Skip to content

Commit 1e87756

Browse files
committed
Move run script to separate folder
1 parent d76cae5 commit 1e87756

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo-october-2022/example_2x2_cardio_fmi/run_fractal_demo.sh renamed to demo-october-2022/example_2x2_cardio_fmi/test_user/run_fractal_demo.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Register user (this step will change in the future)
22
curl -d '{"email":"[email protected]", "password":"test"}' -H "Content-Type: application/json" -X POST localhost:8000/auth/register
3+
echo -e "[email protected]\nFRACTAL_PASSWORD=test" > .fractal.env
34
echo
45

56
# Temporary: Set a unique name prefix to ensure all names are unique
@@ -25,9 +26,9 @@ rm -r $TMPDIR
2526
mkdir $TMPDIR
2627

2728
# If the images have not been downloaded yet, use the `fetch_test_data_from_zenodo.sh` script
28-
INPUT_PATH=../images/10.5281_zenodo.7057076
29+
INPUT_PATH=../../images/10.5281_zenodo.7057076
2930
# Define a unique output path that depends on the username
30-
OUTPUT_PATH=../$USERNAME'_output'
31+
OUTPUT_PATH=`pwd`/$USERNAME'_output'
3132
rm -rv $OUTPUT_PATH
3233

3334
TMPJSON=${TMPDIR}/tmp.json

0 commit comments

Comments
 (0)