Skip to content

Commit

Permalink
biothings ncats-rare-source: add comment
Browse files Browse the repository at this point in the history
on why i don't need to use always_list
  • Loading branch information
colleenXu committed Dec 25, 2024
1 parent 30e0a8a commit 57d6b01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ncats_rare_source/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ components:
- id: NCBIGene
semantic: Gene
parameters:
## don't need always_list because raresource.disease can be a single-element array
## no prefix on output, need the whole thing for jmespath to work
fields: entrezgene,symbol,raresource.disease
jmespath: "raresource.disease|[?orphanet=='{{ queryInputs }}']"
Expand Down

0 comments on commit 57d6b01

Please sign in to comment.