UWPR / Comet

An tandem mass spectrometry (MS/MS) sequence database search tool.
https://uwpr.github.io/Comet/
Apache License 2.0
42 stars 13 forks source link

Give user warning about spectrum_batch_size #27

Closed wsnoble closed 2 years ago

wsnoble commented 2 years ago

I had a comet job run out of memory, and it took me a while to remember/figure out to set the spectrum_batch_size. I think it would be good if, when the spectrum_batch_size is 0, you print a message to stderr that says something like this:

Reading all spectra into memory.
If your search terminates at this point, please set the spectrum_batch_size parameter.

Without this message, I was just seeing the job stop with no explanation.

jke000 commented 2 years ago

Incorporated warning message in release 2022.01.2 via commit 21f2509.