Commit f2a26570 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

correct passing ncores

parent 5ef768fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ elif ! [[ $ncells =~ $int ]] && [[ $setup == "false" ]]; then
fi
#check if ncores is an integer
int='^[0-9]+$'
if [[ -z "$ncells" ]]; then
if [[ -z "$ncores" ]]; then
    ncores=""
elif ! [[ $ncores =~ $int ]] && [[ $setup == "false" ]]; then
    echo "Error: option --localcores must be an integer"