Skip to content

Commit

Permalink
Limit Percolator processes to 128 (fixes #117)
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG authored Aug 7, 2024
1 parent d577474 commit 9676ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ms2rescore/rescoring_engines/percolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def rescore(
"decoy-results-proteins": output_file_root + ".percolator.decoy.proteins.pout",
"weights": output_file_root + ".percolator.weights.tsv",
"verbose": LOG_LEVEL_MAP[log_level],
"num-threads": processes,
"num-threads": max(processes, 128), # Higher values not supported by Percolator
"post-processing-tdc": True,
}
if percolator_kwargs:
Expand Down

0 comments on commit 9676ddc

Please sign in to comment.