Commit 372283e5 authored by Piotr Gawron's avatar Piotr Gawron

warning message improved

parent e5ed2a53
Pipeline #17987 canceled with stage
in 1 minute and 38 seconds
......@@ -11,6 +11,8 @@ minerva (14.0.6) stable; urgency=medium
(regression 14.0.0, #1057)
* Bug fix: genetic variant overlay improperly processed elements identified
by miriam identifiers, like uniprot (#1059)
* Bug fix: invalid information was provided for genetic variants overlay when
map organism was defined (#1060)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 18 Dec 2019 12:00:00 +0200
......
......@@ -463,7 +463,11 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) {
}
if (geneticInformation) {
if (genomeUrls.length === 0) {
contentElement.innerHTML = "No organism defined for this project, cannot display variant data";
if (self.getCustomMap().getProject().getOrganism() === undefined) {
contentElement.innerHTML = "No organism defined for this project, cannot display variant data.";
} else {
contentElement.innerHTML = "No reference genome defined for this MINERVA instance, cannot display variant data.";
}
} else {
for (i = 0; i < overlaysData.length; i++) {
if (globalGeneVariants[i].length > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment