diff --git a/src/components/ScoreSetHeatmap.vue b/src/components/ScoreSetHeatmap.vue index be9b2f8..571ff32 100644 --- a/src/components/ScoreSetHeatmap.vue +++ b/src/components/ScoreSetHeatmap.vue @@ -92,7 +92,7 @@ export default { }, isNucleotideHeatmap: function() { const targetCategory = _.get(this.scoreSet, 'targetGenes[0].category') - const proteinVariantsAreDefined = this.scores.every((elem) => elem.hgvs_pro !== null) + const proteinVariantsAreDefined = this.scores.every((elem) => !isNaN(elem.hgvs_pro)) return !proteinVariantsAreDefined && (targetCategory === 'other_noncoding' || targetCategory == "regulatory") }, heatmapRows: function() {