When opening the Comet.sln in VS2019, compiling for Release works, but Debug config is out of date.
Its missing some include directories (cannot find "expat.h" etc) and some precursor defs (to disable sqlite, which is not included in the sources).
When running Comet.exe on Windows, several issues prevent a search to run to the end, e.g. (not necessarily in this order)
- a stack overflow (not sure where that came from, VS won't give a proper trace).
- some issues in parameter handling, e.g. when param.txt contains lines like:
peff_obo =
precursor_NL_ions =
which may not be valid param.txt, but Comet should not throw exceptions; in Release mode, this is also undefined behaviour and may have weird consequences, but luckily nothing happens, so far.
- A crash in this line (invalid handle) https://github.com/UWPR/Comet/blob/v2024.01.0/CometSearch/ThreadPool.h#L217 (does not happen in Release, but maybe it's just ignored).