MannLabs / alphadia

modular & open DIA search
https://alphadia.readthedocs.io
Apache License 2.0
41 stars 3 forks source link

Add unknown mods #291

Closed GeorgWa closed 1 month ago

GeorgWa commented 1 month ago

Allow users to set unknown alphabase mods by using the config. Required minor refactoring of the config class to allow addition of keys not in the original config.

JuliaS92 commented 1 month ago

Just raising this question because I had an issue with doing the same thing in peptdeep today and trying to learn: How does this work with the multiprocessing on Mac? I had the issue, that I needed to modify the constants table on disk rather than temporarily in a jupyter notebook for library prediction and multiprocessing to recognize the change. Is this specifically a problem for Mac + jupyter or does it potentially affect other execution forms on Mac as well?

GeorgWa commented 1 month ago

Hi @JuliaS92 . I think this a known issue with Jupyter and multiprocessing. It should work fine if it's in a python module.