Skip to content

Commit

Permalink
fixing gd or gaf group in CopyToResultsDir
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanKanninga committed Apr 16, 2016
1 parent 1c689b3 commit fbcd08d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion compute5/NGS_DNA/protocols/CopyToResultsDir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,19 @@ then

elif [[ "${host}" == *"gd-node"* || "${host}" == "zinc-finger.gcc.rug.nl" ]]
then

if [[ "${logsDir}" == *"/groups/umcg-gd"* ]]
then
. ${EBROOTAUTOMATED}/parameters_gd.csv
elif [[ "${logsDir}" == *"/groups/umcg-gaf"* ]]
then
. ${EBROOTAUTOMATED}/parameters_gaf.csv
else
echo "unknown groupname please run in gaf or gd"
fi

touch ${logsDir}/${project}.pipeline.finished
. $EBROOTAUTOMATED/zinc-finger.gcc.rug.nl.cfg
. ${EBROOTAUTOMATED}/zinc-finger.gcc.rug.nl.cfg
. $EBROOTAUTOMATED/sharedConfig.cfg
echo "pipeline is finished, user ${ONTVANGER} has been mailed"
printf "The results can be found: ${projectResultsDir}\n\nCheers from the GCC :)"| mail -s "NGS_DNA pipeline is finished for project ${project} on `date +%d/%m/%Y` `date +%H:%M`" ${ONTVANGER}
Expand Down

0 comments on commit fbcd08d

Please sign in to comment.