Skip to content

Commit

Permalink
mychem: add count constraint to aeolus-treats
Browse files Browse the repository at this point in the history
issue with adding this constraint to the reverse operation, see https://github.com/biothings/biothings_explorer/issues/727\#issuecomment-1776677828
  • Loading branch information
colleenXu committed Oct 27, 2023
1 parent 478c079 commit ac076b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mychem.info/openapi_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -733,12 +733,13 @@ components:
body:
q: "{{ queryInputs }}" ## no prefix
scopes: aeolus.unii
## all 3044 records have unii, only 1931 have inchikey
## all 1551 records have unii and rxcui (another option), only 1016 have inchikey
outputs:
- id: MEDDRA
semantic: Disease
parameters:
fields: aeolus.indications.meddra_code ## no prefix
fields: aeolus.indications ## need the whole thing for jmespath to work
jmespath: aeolus.indications|[?count>`20`]
size: 1000 ## note size limit; added just in case
predicate: treats
source: "infores:aeolus"
Expand Down

0 comments on commit ac076b8

Please sign in to comment.