Commit 76260877 authored by Gervaise H. Henry's avatar Gervaise H. Henry 🤠

Fix bash if

parent fa7e8908
......@@ -25,20 +25,20 @@ Rscript ../r.scripts/sc-TissueMapper_RUN.R --p "$1" --s "$2"
module unload R/3.5.1-gccmkl
module load R/3.6.1-gccmkl
if [ "$1" == "PdPgb" | "$1" == "PdPb" ]
if [[ "$1" == "PdPgb" ]] || [[ "$1" == "PdPb" ]]
then
Rscript ../r.scripts/SingleR.R --p "$1" --s "$2" --o "$3"
elif [ "$3" == "epi" | "$3" == "fmst" ]
elif [ "$3" == "epi" || "$3" == "fmst" ]
then
Rscript ../r.scripts/huPr_muPr.R --p "$1" --r "$3"
fi
module unload R/3.5.1-gccmkl
module load R/3.6.1-gccmkl
if [ "$1" == "PdPgb" ]
if [[ "$1" == "PdPgb" ]]
then
Rscript ../r.scripts/diy_PdPgb.R
elif [ "$3" == "epi" ]
elif [[ "$3" == "epi" ]]
then
Rscript ../r.scripts/diy_muPrUr_Epi.R
fi
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