diff --git a/src/components/Map.vue b/src/components/Map.vue index 2a055da..bbd20be 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -2,10 +2,14 @@
-
-
+ +
+
+ Related references from NCBI Datasets not retrieved. +
+
-
- - -
- - Other -
- -
-
+
+ Related references from NCBI Entrez not retrieved. +
- - - View NCBI Eutils response as a tree + + Other +
- - - - - -
+ +
+
-
Work in progress.
+ + + View NCBI Eutils response as a tree + + + + + +
+
@@ -144,7 +144,7 @@ export default { chromosomes: [], other_references: [], progress_datasets: true, - progress_other: false, + progress_other: true, }; }, mounted: function () { @@ -200,17 +200,19 @@ export default { ) { this.gene_id = response.genes[0].gene.gene_id; let gene_name = response.genes[0].gene.symbol; - this.progress_other = true; NcbiEutils.get_gene_summary(this.gene_id).then((response) => { + this.progress_other = false; if (response.data) { + this.response_other = true; this.eutils = response.data; let references = this.get_eutils_hist(response.data, this.gene_id); for (let reference of references) { this.get_eutils_related(reference, gene_name); } + } else { + this.response_other = false; } }); - this.progress_other = false; } }, get_selector_id() { @@ -244,9 +246,10 @@ export default { descendats: true, }; MutalyzerService.referenceModel(params).then((response) => { + this.progress_datasets = false; if (response.data) { + this.response_datasets = true; this.eutils = response.data; - this.progress_datasets = false; if (response.data.id) { if ( response.data.features && @@ -265,6 +268,8 @@ export default { } } } + } else { + this.response_datasets = false; } }); }, diff --git a/src/components/ReferenceInformation.vue b/src/components/ReferenceInformation.vue index 5c87a23..92a8598 100644 --- a/src/components/ReferenceInformation.vue +++ b/src/components/ReferenceInformation.vue @@ -2,7 +2,6 @@
diff --git a/src/components/ViewVariants.vue b/src/components/ViewVariants.vue index e2fa999..908fa03 100644 --- a/src/components/ViewVariants.vue +++ b/src/components/ViewVariants.vue @@ -2,7 +2,6 @@