Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Annotations mismatch when dataset has neutral loss #21

Open
aeisenbarth opened this issue Mar 11, 2024 · 0 comments
Open

Annotations mismatch when dataset has neutral loss #21

aeisenbarth opened this issue Mar 11, 2024 · 0 comments

Comments

@aeisenbarth
Copy link
Collaborator

When a dataset has been processed with chemical modifications or neutral loss, the annotations dataframe does not match the number of ion images.

That is because dataset.all_annotation_images() literally downloads all images, where as dataset.results() excludes chemical modifications by default. Thus there are more ion images than dataframe rows and the assertion/assumption fails.

There are two extra arguments include_chem_mods=True, include_neutral_losses=True that need to be passed so that the dataframe includes all annotations.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant