Remove commands creating file.failed on error

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