Skip to content

Commit

Permalink
Merge pull request #280 from bcgsc/feature/DEVSU-2136-add-cancerGene-…
Browse files Browse the repository at this point in the history
…check

feature/DEVSU-2136-add-cancerGene-check
Nithriel authored Nov 22, 2023
2 parents 1f30bce + c05276f commit 7a4f3c0
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/reports/genes.js
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ module.exports = (sequelize, Sq) => {
defaultValue: false,
},
cancerGene: {
name: 'cancerGene',
field: 'cancer_gene',
type: Sq.BOOLEAN,
},
2 changes: 1 addition & 1 deletion app/routes/report/variants.js
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ const unknownSignificanceIncludes = ['mut'];
const signatureVariant = ['tmb', 'msi'];

const unknownSignificanceGeneFilter = {
[Op.or]: [{oncogene: true}, {tumourSuppressor: true}],
[Op.or]: [{oncogene: true}, {tumourSuppressor: true}, {cancerGene: true}],
};

const getRapidReportVariants = async (tableName, variantType, reportId, rapidTable) => {

0 comments on commit 7a4f3c0

Please sign in to comment.