Skip to content
Snippets Groups Projects
Commit b31f4daa authored by Julien  GUGLIELMINI's avatar Julien GUGLIELMINI
Browse files

Fix final check

parent 7689c82d
No related branches found
No related tags found
No related merge requests found
......@@ -348,8 +348,8 @@ if [[ ! -f "$OUT".wgrr.txt ]] ; then
fi
NLINES=$(wc -l "$OUT".wgrr.txt | awk '{print $1}')
NWGRR=$((STATS[1]*2+1))
if [[ $NLINES -le $NWGRR ]] ; then
NWGRR=$((STATS[1]*STATS[1]+1))
if [[ $NLINES -lt $NWGRR ]] ; then
echo "[ERROR] -- An error occurred during wGRR calculation:"
echo "[ERROR] -- less lines than expected in the final file."
echo "[ERROR] -- Saving the partial files in ${OUT}.wgrr_part directory."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment