Skip to content

Commit

Permalink
Merge pull request #275 from bcgsc/feature/DEVSU-2090-update-rapid-re…
Browse files Browse the repository at this point in the history
…port-filter

feature/DEVSU-2090-update-rapid-report-filter
  • Loading branch information
Nithriel authored Nov 9, 2023
2 parents 66a8ea7 + fba2ec9 commit 0b89d6e
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 390 deletions.
9 changes: 9 additions & 0 deletions app/routes/report/variants.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ const therapeuticAssociationFilter = {
{[Op.is]: literal('distinct from \'msi\'')},
{[Op.is]: literal('distinct from \'tmb\'')},
]},
[Op.or]: [
{
relevance: 'resistance',
iprEvidenceLevel: 'IPR-A',
},
{
relevance: 'sensitivity',
},
],
// Regex filter for finding columns with 2 or more spaces that end with
// mutation or mutations
[Op.not]: {kbVariant: {[Op.regexp]: MUTATION_REGEX}},
Expand Down
Loading

0 comments on commit 0b89d6e

Please sign in to comment.