-
Notifications
You must be signed in to change notification settings - Fork 6
feat(lapis): also allow multiple value in int, float and date filters (and concatenate them with or)
#1626
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
Merged
fengelniederhammer
merged 7 commits into
main
from
1595-search-for-int-and-float-fields-only-allows-exact-match
Apr 10, 2026
Merged
feat(lapis): also allow multiple value in int, float and date filters (and concatenate them with or)
#1626
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ee71cbd
feat(LAPIS): also allow multiple value in int and float filters (and …
fengelniederhammer a9901eb
1595 adapt to new SILO error message
fengelniederhammer 504b1b9
1595 adapt docs
fengelniederhammer 12360f5
1595 spec
fengelniederhammer b6fe6da
1595 also for date
fengelniederhammer 1b6ce78
1595 typo
fengelniederhammer f5bffb0
1595 better docs that mention null
fengelniederhammer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "testCaseName": "date equals with multiple values", | ||
| "lapisRequest": { | ||
| "date": ["2021-05-08", "2021-01-20"] | ||
| }, | ||
| "expected": [ | ||
| { | ||
| "count": 6 | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "testCaseName": "float equals with multiple values", | ||
| "lapisRequest": { | ||
| "qcValue": [0.97, 0.98] | ||
| }, | ||
| "expected": [ | ||
| { | ||
| "count": 20 | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "testCaseName": "int equals with multiple values", | ||
| "lapisRequest": { | ||
| "age": [51, 52] | ||
| }, | ||
| "expected": [ | ||
| { | ||
| "count": 15 | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -190,7 +190,7 @@ describe('The /alignedAminoAcidSequence endpoint', () => { | |
|
|
||
| const errorResponse = await response.json(); | ||
| expect(errorResponse.error.detail).to.match( | ||
| /Error from SILO: The table does not contain the SequenceColumn 'unknownGene'/ | ||
| /Error from SILO: The table does not contain the field unknownGene/ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated to this PR, but SILO recently changed the error message in this case.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
| ); | ||
| }); | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.