Small change in parallelisation tuning

Former-commit-id: 3fe2495b7fd86a0ba47dd87907323a457bae481a
This commit is contained in:
2023-04-05 14:15:47 +02:00
parent 2e7fc9a589
commit d70bb45f3f
5 changed files with 25 additions and 9 deletions

View File

@ -90,7 +90,7 @@ func CLIReadBioSequences(filenames ...string) (obiiter.IBioSequence, error) {
opts = append(opts, obiformats.OptionsFastSeqHeaderParser(obiformats.ParseGuessedFastSeqHeader))
}
nworkers := obioptions.CLIParallelWorkers()
nworkers := obioptions.CLIReadParallelWorkers()
if nworkers < 2 {
nworkers = 2
}