-
Notifications
You must be signed in to change notification settings - Fork 6
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
Sorting by frequency in disease to phenotype table not working correctly #910
Comments
The issue is that the Solr query sorts by |
After a conversation with @amc-corey-cox, I see what's going on. Disease-phenotype associations from HPOA have either a categorical ...Additionally, there is a bug when rendering the frequencies in the association table that was introduced in 400ab72. There's code to deal with all the different cases of frequency measurements, but this is how it checks them: monarch-app/frontend/src/pages/node/AssociationsTable.vue Lines 388 to 390 in af5ab7b
In the Since |
Aaaand that derived frequency is already added to the index: https://github.com/monarch-initiative/monarch-ingest/blob/a4894f496633ed800b779f1b2df669b41838bd50/scripts/frequency_update_processor.js! The bug then is that the table should call a sort to the derived frequency rather than |
LAST BUG and then this will be working fine. @kevinschaper, it seems that |
I imagine it's something to be added in the HPO ingest |
Or, maybe not, since |
Sorting by frequency in a disease to phenotype table can occasionally cause confusing and incorrect results. For an example, show 100 results at a time in the association table for MONDO:0007523 and try sorting by frequency. Neither ascending nor descending sort seems to do anything.
For an example with more associations with frequency values attached, try MONDO:0958235. By default, it is sorted by frequency. But after explicitly sorting by frequency by click on the table header, things get wonky.
The text was updated successfully, but these errors were encountered: