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

Incorrect use of self._breeds when populating self._species_breeds #88

Open
ThorstenKleinSmith opened this issue Oct 11, 2021 · 0 comments

Comments

@ThorstenKleinSmith
Copy link

The code in surepy/__init__.py is trying to check if the species was seen before but incorrectly checks that in self._breeds instead of self._species_breeds:

if breed["species_id"] not in self._breeds:

should be

if breed["species_id"] not in self._species_breeds:
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

No branches or pull requests

1 participant