2019-09-13 15:16:12 +02:00
|
|
|
#!/bin/bash
|
|
|
|
FIJI_EXE_PATH=''
|
|
|
|
RAW_IMAGES_ROOT_PATH=''
|
2019-09-16 11:54:13 +02:00
|
|
|
LIPASE_SRC_ROOT_PATH="$(pwd)/src"
|
2019-09-13 15:16:12 +02:00
|
|
|
case "$(uname)" in
|
|
|
|
'Linux')
|
|
|
|
FIJI_EXE_PATH='./Fiji.app/ImageJ-linux64'
|
|
|
|
RAW_IMAGES_ROOT_PATH='/opt/ipr/cluster/work.global/graffy/jenkins-store/lipase/raw-images'
|
|
|
|
;;
|
|
|
|
'Darwin')
|
|
|
|
FIJI_EXE_PATH='/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx'
|
|
|
|
RAW_IMAGES_ROOT_PATH='/Users/graffy/ownCloud/ipr/lipase/raw-images'
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "unhandled openating system : $(uname)"
|
|
|
|
exit 1
|
|
|
|
esac
|
|
|
|
"$FIJI_EXE_PATH" --ij2 --headless --run './tests/test0001.py' "lipase_src_root_path='$LIPASE_SRC_ROOT_PATH',raw_images_root_path='$RAW_IMAGES_ROOT_PATH'"
|
2019-07-17 16:56:05 +02:00
|
|
|
# on macosx : /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --ij2 --headless --run './test0001.py'
|
2019-09-13 15:16:12 +02:00
|
|
|
# /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --ij2 --headless --run './tests/test0001.py' "lipase_src_root_path='$(pwd)',raw_images_root_path='/Users/graffy/ownCloud/ipr/lipase/raw-images'"
|