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

Update species.py #281

Closed
wants to merge 1 commit into from
Closed

Update species.py #281

wants to merge 1 commit into from

Conversation

rraadd88
Copy link
Contributor

Link to the documentation.

Link to the documentation
@coveralls
Copy link

Coverage Status

Coverage: 83.045%. Remained the same when pulling cba24a3 on rraadd88:patch-1 into 04711f6 on openvax:master.

@@ -145,7 +145,7 @@ def normalize_species_name(name):
def find_species_by_name(species_name):
latin_name = normalize_species_name(species_name)
if latin_name not in Species._latin_names_to_species:
raise ValueError("Species not found: %s" % species_name)
raise ValueError("Species not found: %s; For non-Ensembl Data, see https://github.com/openvax/pyensembl#non-ensembl-data" % species_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, can you change this to:

raise ValueError("Species not found: %s; for non-Ensembl data see https://github.com/openvax/pyensembl#non-ensembl-data" % (species_name,))

Also, if you increase the library version to 2.2.7 then it will auto-deploy to PyPI on merge

iskandr added a commit that referenced this pull request Feb 15, 2023
iskandr added a commit that referenced this pull request Feb 15, 2023
* added fruit fly

* also including #281
@iskandr
Copy link
Contributor

iskandr commented Feb 15, 2023

Added in #282 -- thanks!

@iskandr iskandr closed this Feb 15, 2023
@rraadd88 rraadd88 deleted the patch-1 branch December 18, 2023 21:57
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.

None yet

3 participants