iomega/ms2query

Version 1.5.0 assertation error if wrong ion mode

Closed this issue · 1 comments

Recently I upgraded to v 1.5.0 and got it working. However, in this version, spectra which do not meet the same ionization mode as what is being queried causes an assertation error that complete stops the script.

When running a positive mode query, under previous versions (1.2.4 specifically) these negative mode spectra would not meet filtering steps and be removed, and the query would run to completion.

Would it be possible to revert to removing these spectra rather than causing an error?

Had to specificy filter_on_ionmode = 'ion_mode' in SettingsRunMS2Query object pass to 'run_complete_folder' by adjusting settings prior to running. Never had to do this with previous versions. I am using Jupyter Lab.