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

Implement id aliases #148

Merged
merged 6 commits into from
Mar 10, 2017
Merged

Implement id aliases #148

merged 6 commits into from
Mar 10, 2017

Conversation

jar398
Copy link
Member

@jar398 jar398 commented Mar 4, 2017

When loading a taxonomy into neo4j, the forwads.tsv file is now processed.

(I have yet to push a new taxomachine db to devapi; have only tested locally.)

E.g. in the below, note the difference between the ott_id parameter and the ott_id in the result.

curl -X "POST" -H "Content-type: application/json" -d '{"ott_id": "5507701"}' "http://localhost:7476/db/data/ext/taxonomy_v3/graphdb/taxon_info"
{
  "is_suppressed" : false,
  "tax_sources" : [ "ncbi:457703", "gbif:3089318" ],
  "unique_name" : "Adenanthellum",
  "synonyms" : [ "Adenanthemum" ],
  "name" : "Adenanthellum",
  "flags" : [ ],
  "ott_id" : 10914,
  "rank" : "genus"
}

@jar398
Copy link
Member Author

jar398 commented Mar 4, 2017

addresses #136

@jar398
Copy link
Member Author

jar398 commented Mar 4, 2017

Piggybacking on this PR: 3 tiny fixes ( #138, #139, #146 )

@kcranston kcranston merged commit 3a65c03 into master Mar 10, 2017
@kcranston kcranston deleted the forwards branch March 10, 2017 19:21
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.

2 participants