Skip to content
Snippets Groups Projects
Commit 6c976c8f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

changed warning text

parent f1fe0b2d
No related branches found
No related tags found
2 merge requests!603Merge 12.1.6,!600changed warning text
Pipeline #8510 passed
...@@ -434,7 +434,7 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) { ...@@ -434,7 +434,7 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) {
} }
if (geneticInformation) { if (geneticInformation) {
if (genomeUrls.length === 0) { if (genomeUrls.length === 0) {
contentElement.innerHTML = "No reference genome data available on minerva platform"; contentElement.innerHTML = "No organism defined for this project, cannot display variant data";
} else { } else {
for (i = 0; i < overlaysData.length; i++) { for (i = 0; i < overlaysData.length; i++) {
if (globalGeneVariants[i].length > 0) { if (globalGeneVariants[i].length > 0) {
......
...@@ -271,7 +271,7 @@ describe('AliasInfoWindow', function () { ...@@ -271,7 +271,7 @@ describe('AliasInfoWindow', function () {
return win.createGenomicDiv({overlays: [overlay]}); return win.createGenomicDiv({overlays: [overlay]});
}).then(function (div) { }).then(function (div) {
assert.ok(div); assert.ok(div);
assert.ok(div.innerHTML.indexOf("No reference genome data available on minerva platform") === -1); assert.ok(div.innerHTML.indexOf("No organism defined for this project, cannot display variant data") === -1);
win.destroy(); win.destroy();
}); });
...@@ -301,7 +301,7 @@ describe('AliasInfoWindow', function () { ...@@ -301,7 +301,7 @@ describe('AliasInfoWindow', function () {
return win.createGenomicDiv({overlays: overlays}); return win.createGenomicDiv({overlays: overlays});
}).then(function (div) { }).then(function (div) {
assert.ok(div); assert.ok(div);
assert.ok(div.innerHTML.indexOf("No reference genome data available on minerva platform") === -1); assert.ok(div.innerHTML.indexOf("No organism defined for this project, cannot display variant data") === -1);
win.destroy(); win.destroy();
}); });
...@@ -340,7 +340,7 @@ describe('AliasInfoWindow', function () { ...@@ -340,7 +340,7 @@ describe('AliasInfoWindow', function () {
return win.createGenomicDiv({overlays: [overlay]}); return win.createGenomicDiv({overlays: [overlay]});
}).then(function (div) { }).then(function (div) {
assert.ok(div); assert.ok(div);
assert.ok(div.innerHTML.indexOf("No reference genome data available on minerva platform") >= -1); assert.ok(div.innerHTML.indexOf("No organism defined for this project, cannot display variant data") >= -1);
win.destroy(); win.destroy();
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment