diff --git a/src/App.vue b/src/App.vue index cb35d6a..ada1ce4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -217,18 +217,13 @@ export default { this.spliceJunctionsForGene = null; }, onGeneSelected: function(gene) { - this.onGeneSearched({'gene_name': geneName}) - if (this.$refs && this.$refs.ref_Navigation) { - this.$refs.ref_Navigation.setGeneSearchField(geneName) - } - }, - onGeneAutoSelected: function(gene) { - this.searchedGene = gene; - this.selectedObject = null; - this.spliceJunctionsForGene = null; this.selectedGene = gene; + this.addAlert("info", "gene
" + gene.gene_name + "
loaded", gene.gene_name) this.showLeftNavDrawer = true; }, + onGeneAutoSelected: function(gene) { + this.onGeneClicked(gene.gene_name) + }, onShowLegend: function(show) { this.showLegendDrawer = show; }, diff --git a/src/components/MultiGeneInput.vue b/src/components/MultiGeneInput.vue index 3054137..51ff3aa 100644 --- a/src/components/MultiGeneInput.vue +++ b/src/components/MultiGeneInput.vue @@ -92,8 +92,8 @@ export default { //self: this, menu: null, - HARD_MAX_GENE_COUNT: 5, - SOFT_MAX_GENE_COUNT: 3, + HARD_MAX_GENE_COUNT: 200, + SOFT_MAX_GENE_COUNT: 50, STARTING_INPUT: 'Enter gene names (<50 recommended)', genesToApply: null,