Skip to content

Commit

Permalink
Merge pull request #324 from VariantEffect/release-2024.4.3
Browse files Browse the repository at this point in the history
Release 2024.4.3
  • Loading branch information
bencap authored Nov 22, 2024
2 parents 2b4c5ff + abed5de commit f437450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ScoreSetHeatmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export default {
return [...this.simpleVariants || [], ...this.wtVariants || []]
},
isNucleotideHeatmap: function() {
return _.get(this.scoreSet, 'targetGenes[0].category') === 'other_noncoding'
const targetCategory = _.get(this.scoreSet, 'targetGenes[0].category')
const proteinVariantsAreDefined = this.scores.every((elem) => elem.hgvs_pro !== null)
return !proteinVariantsAreDefined && (targetCategory === 'other_noncoding' || targetCategory == "regulatory")
},
heatmapRows: function() {
return this.isNucleotideHeatmap ? HEATMAP_NUCLEOTIDE_ROWS : HEATMAP_AMINO_ACID_ROWS
Expand Down

0 comments on commit f437450

Please sign in to comment.