min instead of max

This commit is contained in:
Patrick Jentsch 2019-03-06 15:56:37 +01:00
parent f52fd385da
commit 2b7e8cd48d

2
nlp
View File

@ -35,7 +35,7 @@ def parse_arguments():
help="Output directory.",
required=True)
parser.add_argument("--nCores",
default=max(4, multiprocessing.cpu_count()),
default=min(4, multiprocessing.cpu_count()),
dest="nCores",
help="Total number of cores available.",
required=False,