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 taxonomic similarity filter / column so that it uses the correct taxon rank #324

Open
lzy7071 opened this issue Aug 11, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@lzy7071
Copy link
Contributor

lzy7071 commented Aug 11, 2020

Currently, the column taxonomic similarity in Concentrations table seems to display the incorrect rank. When the organism is Escherichia coli, the taxonomic similarity column should display species, rather than genus that's currently shown.
The testapi for /metabolites/concentrations/similar_compounds/ or any other endpoints that need taxon calculations has been changed. The distances from the testapi can be directly used without any further changes with the list returned by /taxon/canon_rank_distance_by_name/, where the anchor organism's (E Coli. E1002) distance (1) is the index at which the taxon similarity can be found ({"Escherichia coli": 1, "rank": "species"}).

@jonrkarr jonrkarr added the bug Something isn't working label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants