Commit 4296f675 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

correct --force-cells

parent 5518a96c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -495,10 +495,10 @@ if [[ -z $keep ]]; then
fi
fi


if [ -z "$ncells" ]; then
if [ -z "$ncells" ]; then
    ncells=null
    ncells=""
else
else
    if ! [[ $ncells =~ '^[0-9]+$' ]] ; then
    if ! [[ $ncells =~ '^[0-9]+$' ]] ; then
        error "--force-cells must be a number"
         echo "Warning --force-cells $ncells must be a number"
   fi
   fi
fi
fi