Skip to content

Commit

Permalink
Merge pull request #5 from NCATS-Tangerine/master
Browse files Browse the repository at this point in the history
Revert "Merge branch 'master' into master"
  • Loading branch information
edgargaticaCU authored Mar 7, 2024
2 parents 709a7ed + 51a4eb3 commit 7ae9108
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions text_mining/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -621,11 +621,9 @@ components:
- id: DRUGBANK
semantic: SmallMolecule
requestBody:
body: >-
{
"q": [ {{ queryInputs | wrap( '["' , '","treats"]') }} ],
"scopes": ["subject.DRUGBANK", "association.edge_label"]
}
body:
q: "{{ queryInputs }}"
scopes: subject.DRUGBANK
parameters:
fields: object.MONDO,association.edge_attributes,association.sources
size: 1000
Expand All @@ -648,11 +646,9 @@ components:
- id: MONDO
semantic: Disease
requestBody:
body: >-
{
"q": [ {{ queryInputs | wrap( '["' , '","treats"]') }} ],
"scopes": ["object.MONDO", "association.edge_label"]
}
body:
q: "{{ queryInputs }}"
scopes: object.MONDO
parameters:
fields: subject.DRUGBANK,association.edge_attributes,association.sources
size: 1000
Expand All @@ -675,11 +671,9 @@ components:
- id: DRUGBANK
semantic: SmallMolecule
requestBody:
body: >-
{
"q": [ {{ queryInputs | wrap( '["' , '","treats"]') }} ],
"scopes": ["subject.DRUGBANK", "association.edge_label"]
}
body:
q: "{{ queryInputs }}"
scopes: subject.DRUGBANK
parameters:
fields: object.HP,association.edge_attributes,association.sources
size: 1000
Expand All @@ -702,11 +696,9 @@ components:
- id: HP
semantic: PhenotypicFeature
requestBody:
body: >-
{
"q": [ {{ queryInputs | wrap( '["' , '","treats"]') }} ],
"scopes": ["object.HP", "association.edge_label"]
}
body:
q: "{{ queryInputs }}"
scopes: object.HP
parameters:
fields: subject.DRUGBANK,association.edge_attributes,association.sources
size: 1000
Expand Down

0 comments on commit 7ae9108

Please sign in to comment.