Skip to content

Commit

Permalink
Fix version release to use in the demo batch script
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientourbier committed May 10, 2019
1 parent dde642f commit ee3cd2c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions data/code/superresolution_batch.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
#!/bin/sh
# usage:
# sh superresolution_batch.sh /path/to/batch_list.txt v1.0.0
# sh superresolution_batch.sh /path/to/batch_list.txt
#
# Author: Sebastien Tourbier
#
###################################################################

# Use the latest stable release version of the docker image
VERSION_TAG="v1.0.0"

# Get the directory where the script is stored,
# which is supposed to be in the code folder of the dataset root directory)
# and get absolute path
SCRIPT_DIR="$(dirname "$0")"

#Get absolute path
SCRIPT_DIR="$(readlink -f $SCRIPT_DIR)"

# Get BIDS dataset root directory
DATASET_DIR="$(dirname "${SCRIPT_DIR}")"

echo "Dataset directory : $DATASET_DIR"
echo "Dataset root directory : $DATASET_DIR"


VERSION_TAG=$2

#from each line of the subject_parameters.txt given as input
while read -r line
Expand Down

0 comments on commit ee3cd2c

Please sign in to comment.