Remove commands creating file.failed on error

parent 14be1720
...@@ -23,7 +23,6 @@ if [ -z "$SAMPLE" ] ...@@ -23,7 +23,6 @@ if [ -z "$SAMPLE" ]
then then
echo "Sample is not specified" echo "Sample is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch delete.failed
exit 1 exit 1
fi fi
...@@ -40,7 +39,6 @@ echo "delete exit code : $delete_exitcode" ...@@ -40,7 +39,6 @@ echo "delete exit code : $delete_exitcode"
if [ $delete_exitcode != 0 ] if [ $delete_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch delete.failed
exit 1 exit 1
fi fi
......
...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn.failed
exit 1 exit 1
fi fi
...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn.failed
exit 1 exit 1
fi fi
...@@ -67,7 +65,6 @@ echo "ehdn exit code : $ehdn_exitcode" ...@@ -67,7 +65,6 @@ echo "ehdn exit code : $ehdn_exitcode"
if [ $ehdn_exitcode != 0 ] if [ $ehdn_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn.failed
exit 1 exit 1
fi fi
......
...@@ -27,7 +27,6 @@ if [ -z "$CASE" ] ...@@ -27,7 +27,6 @@ if [ -z "$CASE" ]
then then
echo "Dijen is not specified" echo "Dijen is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn_outlier.failed
exit 1 exit 1
fi fi
...@@ -53,7 +52,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode" ...@@ -53,7 +52,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode"
if [ $ehdn_outlier_exitcode != 0 ] if [ $ehdn_outlier_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn_outlier.failed
exit 1 exit 1
fi fi
...@@ -69,7 +67,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode" ...@@ -69,7 +67,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode"
if [ $ehdn_outlier_exitcode != 0 ] if [ $ehdn_outlier_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn_outlier.failed
exit 1 exit 1
fi fi
...@@ -85,7 +82,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode" ...@@ -85,7 +82,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode"
if [ $ehdn_outlier_exitcode != 0 ] if [ $ehdn_outlier_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn_outlier.failed
exit 1 exit 1
fi fi
...@@ -102,7 +98,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode" ...@@ -102,7 +98,6 @@ echo "ehdn_outlier exit code : $ehdn_outlier_exitcode"
if [ $ehdn_outlier_exitcode != 0 ] if [ $ehdn_outlier_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch ehdn_outlier.failed
exit 1 exit 1
fi fi
......
...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch expansionhunter.failed
exit 1 exit 1
fi fi
...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch expansionhunter.failed
exit 1 exit 1
fi fi
...@@ -65,7 +63,6 @@ echo "expansionhunter exit code : $expansionhunter_exitcode" ...@@ -65,7 +63,6 @@ echo "expansionhunter exit code : $expansionhunter_exitcode"
if [ $expansionhunter_exitcode != 0 ] if [ $expansionhunter_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch expansionhunter.failed
exit 1 exit 1
fi fi
......
...@@ -23,7 +23,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -23,7 +23,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch gangstr.failed
exit 1 exit 1
fi fi
...@@ -32,7 +31,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -32,7 +31,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch gangstr.failed
exit 1 exit 1
fi fi
...@@ -64,7 +62,6 @@ echo "gangstr exit code : $gangstr_exitcode" ...@@ -64,7 +62,6 @@ echo "gangstr exit code : $gangstr_exitcode"
if [ $gangstr_exitcode != 0 ] if [ $gangstr_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch gangstr.failed
exit 1 exit 1
fi fi
......
...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch hipstr.failed
exit 1 exit 1
fi fi
...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTFILE" ] ...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTFILE" ]
then then
echo "Output file is not specified" echo "Output file is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch hipstr.failed
exit 1 exit 1
fi fi
...@@ -60,7 +58,6 @@ echo "hipstr exit code : $hipstr_exitcode" ...@@ -60,7 +58,6 @@ echo "hipstr exit code : $hipstr_exitcode"
if [ $hipstr_exitcode != 0 ] if [ $hipstr_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch hipstr.failed
exit 1 exit 1
fi fi
......
...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch lobstr.failed
exit 1 exit 1
fi fi
...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch lobstr.failed
exit 1 exit 1
fi fi
...@@ -70,7 +68,6 @@ echo "lobstr exit code : $lobstr_exitcode" ...@@ -70,7 +68,6 @@ echo "lobstr exit code : $lobstr_exitcode"
if [ $lobstr_exitcode != 0 ] if [ $lobstr_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch lobstr.failed
exit 1 exit 1
fi fi
......
...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch stretch.failed
exit 1 exit 1
fi fi
...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch stretch.failed
exit 1 exit 1
fi fi
...@@ -56,7 +54,6 @@ echo "stretch exit code : $stretch_exitcode" ...@@ -56,7 +54,6 @@ echo "stretch exit code : $stretch_exitcode"
if [ $stretch_exitcode != 0 ] if [ $stretch_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch stretch.failed
exit 1 exit 1
fi fi
......
...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -31,7 +31,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch strscan.failed
exit 1 exit 1
fi fi
...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTPREFIX" ] ...@@ -40,7 +39,6 @@ if [ -z "$OUTPUTPREFIX" ]
then then
echo "Output prefix is not specified" echo "Output prefix is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch strscan.failed
exit 1 exit 1
fi fi
...@@ -61,7 +59,6 @@ echo "strscan exit code : $strscan_exitcode" ...@@ -61,7 +59,6 @@ echo "strscan exit code : $strscan_exitcode"
if [ $strscan_exitcode != 0 ] if [ $strscan_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch gangstr.failed
exit 1 exit 1
fi fi
......
...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch transfer.failed
exit 1 exit 1
fi fi
...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTDIR" ] ...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTDIR" ]
then then
echo "Output directory is not specified" echo "Output directory is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch transfer.failed
exit 1 exit 1
fi fi
...@@ -51,7 +49,6 @@ echo "transfer exit code : $transfer_exitcode" ...@@ -51,7 +49,6 @@ echo "transfer exit code : $transfer_exitcode"
if [ $transfer_exitcode != 0 ] if [ $transfer_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch transfer.failed
exit 1 exit 1
fi fi
......
...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ] ...@@ -24,7 +24,6 @@ if [ ! -f "$INPUTFILE" ]
then then
echo "Input file '$INPUTFILE' does not exist" echo "Input file '$INPUTFILE' does not exist"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch tredparse.failed
exit 1 exit 1
fi fi
...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTDIR" ] ...@@ -33,7 +32,6 @@ if [ -z "$OUTPUTDIR" ]
then then
echo "Output directory is not specified" echo "Output directory is not specified"
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch tredparse.failed
exit 1 exit 1
fi fi
...@@ -51,7 +49,6 @@ echo "tredparse exit code : $tredparse_exitcode" ...@@ -51,7 +49,6 @@ echo "tredparse exit code : $tredparse_exitcode"
if [ $tredparse_exitcode != 0 ] if [ $tredparse_exitcode != 0 ]
then then
echo "$(date +"%F_%H-%M-%S"): END" echo "$(date +"%F_%H-%M-%S"): END"
touch tredparse.failed
exit 1 exit 1
fi 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