adding shub printout

parent f712e654
......@@ -7,11 +7,15 @@ function run_with_singularity(){
echo "Running script $2 in image $1"
if [[ $1 == *"shub://"* ]]; then
if [[ $1 == *"://"* ]]; then
echo "Downloading image from singularityhub.org"
export IMG=$(dl_singularity_container)
else
export IMG=$1
fi
singularity exec $1 ./$2
singularity exec $IMG ./$2
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment