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

as.mo(): give preference to species if subspecies is non-existent #152

Open
msberends opened this issue May 9, 2024 · 0 comments
Open
Labels
bug Something isn't working, labelled wrong or otherwise erroneous enhancement New feature or request
Milestone

Comments

@msberends
Copy link
Owner

Now, this happens:

as.mo("Neisseria mucosa sicca")
#> ℹ Microorganism translation was uncertain for "Neisseria mucosa sicca" (assumed Neisseria elongata glycolytica).
#>   Run mo_uncertainties() to review this, or use add_custom_microorganisms() to add custom entries.
#> Class 'mo'
#> [1] B_NESSR_ELNG_GLYC

Instead, you'd expect this:

as.mo("Neisseria mucosa sicca")
#> ℹ Microorganism translation was uncertain for "Neisseria mucosa sicca" (assumed Neisseria mucosa).
#>   Run mo_uncertainties() to review this, or use add_custom_microorganisms() to add custom entries.
#> Class 'mo'
#> [1] B_NESSR_MUCS

Thus, if a subspecies is not in our microorganisms table, prefer the species over some exotic try to find something.

@msberends msberends added bug Something isn't working, labelled wrong or otherwise erroneous enhancement New feature or request labels May 9, 2024
@msberends msberends added this to the v3.0.0 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, labelled wrong or otherwise erroneous enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant