Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix for when prediction breakdown does not contain main label #182

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Cyborger1
Copy link
Collaborator

If the API returns a breakdown with at least one element and that breakdown does not contain the primary label, it is added before being sent over to the plugin. Ideally this should not happen, this is more of a fallback measure.

Also some random changes to using isEmpty() in there, I'm not sure why I didn't use those before.

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

Successfully merging this pull request may close these issues.

1 participant