swh:1:snp:e6d42e6731ce66e3c09de07ac49964c03139e990
Raw File
Tip revision: cc7055c78202813215e6c607255bdfdf6e088dca authored by Konrad Werys on 01 November 2019, 12:51:09 UTC
ci: big changes to the builds v13
Tip revision: cc7055c
codeocean.sh
#!/usr/bin/env bash

# In this script a sample use of TOMATO software is presented
# The TOMATO code can be found here: https://github.com/MRKonrad/tomato
# Binaries used here have been build in continous integration systems, their scripts can be found here:
# Travis (Linux and Osx): https://github.com/MRKonrad/tomato/blob/master/.travis.yml
# Appveyor (Windows): https://github.com/MRKonrad/tomato/blob/master/.appveyor.yml
# The code has not been built using Codeocean to avoid redundancy with the builds listed above

echo ""
echo "### Get TOMATO executable"
curl -L -O https://github.com/MRKonrad/tomato/releases/download/v0.4/TomatoExe_v0.4_linux.zip
unzip -a -q TomatoExe_v0.4_linux.zip

echo ""
echo "### Get some sample data"
mkdir testData
cd testData
curl -L -O https://github.com/MRKonrad/tomato/releases/download/v0.4/testData.zip
unzip -a -q testData.zip
cd ..

echo ""
echo "### Check the contents of the main folder"
ls -la

echo ""
echo "### Check the contents of the data folder"
ls -la testData

echo ""
echo "### Run an example"
echo "### the configuration file (tomatoConfig_Shmolli_inputFilePaths.yaml) contains all the adjustable calculation parameters"
./TomatoExe testData/tomatoConfig_Shmolli_inputFilePaths.yaml

echo ""
echo "### Check the contents of the output folder with T1 maps"
ls -la testData/tomatoOutput_Shmolli/map

echo ""
echo "### Check the contents of the output folder with other maps"
ls -la testData/tomatoOutput_Shmolli/fitparams
back to top