Skip to content

Commit

Permalink
Merge pull request #4462 from onursumer/fix-oncokb-track-resistance
Browse files Browse the repository at this point in the history
Allow resistant mutations in the OncoKB track
  • Loading branch information
inodb authored Dec 23, 2022
2 parents 6217105 + 9a8abe0 commit 2c18167
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,9 @@ export function generateQueryVariantId(
}

export function defaultOncoKbIndicatorFilter(indicator: IndicatorQueryResp) {
return indicator.oncogenic
.toLowerCase()
.trim()
.includes('oncogenic');
const oncogenic = indicator.oncogenic.toLowerCase().trim();

return oncogenic.includes('oncogenic') || oncogenic.includes('resistance');
}

export function generateIdToIndicatorMap(
Expand Down

0 comments on commit 2c18167

Please sign in to comment.