Skip to content

Hard fail when an entry in an MGF has an unrecognized adduct that then leads to dummy formula/mass, leading to ZeroDivisionError: division by zero #6

Description

@Adafede

Hi @Philipbear,

Thank you very much for your super cool program!

I just used it extensively on a variety of spectra and when an MGF contains admitedly weid unrecognized adduct types, the whole job fails because of a ZeroDivisionError: division by zero.

Ideally, these cases should just be skipped?

Best,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions