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 mapping counts reported #88

Closed
mdorf opened this issue Oct 19, 2018 · 1 comment
Closed

Incorrect mapping counts reported #88

mdorf opened this issue Oct 19, 2018 · 1 comment
Labels

Comments

@mdorf
Copy link
Member

mdorf commented Oct 19, 2018

In order to avoid the expensive COUNT queries to 4store, we've implemented a system, where mapping counts get generated by a CRON process that runs weekly. There appears to be a bug in this code that creates a discrepancy between the generated count and the actual number of mappings when retrieved via the REST service. Examples:

http://data.bioontology.org/mappings?ontologies=EXACT,EP
http://data.bioontology.org/mappings?ontologies=EXACT,CLO

screen shot 2018-10-19 at 4 51 53 pm

Reference code is found here:
https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/mappings/mappings.rb#L75

Corresponding list in the UI:
Screen Shot 2021-03-10 at 1 26 26 PM

@jvendetti jvendetti added the bug label Oct 23, 2018
@graybeal
Copy link

Duplicate of #115, which is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants