Skip to content

Commit

Permalink
Merge pull request #412 from josephhearnshaw/master
Browse files Browse the repository at this point in the history
Fixed issue #401
  • Loading branch information
marco-brandizi authored Aug 30, 2019
2 parents dabfa63 + e0f5734 commit 25f0079
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 391 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ KNETMAPS.Container = function () {

var stats = KNETMAPS.Stats();
var iteminfo = KNETMAPS.ItemInfo();
var conceptLegend = KNETMAPS.ConceptsLegend();

var my = function () {};

Expand Down Expand Up @@ -230,6 +231,7 @@ KNETMAPS.Container = function () {
this.addClass('HideEle');
// Refresh network legend.
stats.updateKnetStats();
conceptLegend.populateConceptLegend();
}
}
},
Expand All @@ -245,6 +247,7 @@ KNETMAPS.Container = function () {
//ele.hide();
ele.removeClass('ShowEle').addClass('HideEle');
$('#infoDialog').html("");

}
if (ele.hasClass('FlaggedGene')) {
$('#infoDialog').html('<font color="red">' + "Can't remove the main Gene Concept node.</font>").show();
Expand All @@ -267,6 +270,7 @@ KNETMAPS.Container = function () {
}
// Refresh network Stats.
stats.updateKnetStats();
conceptLegend.populateConceptLegend();
}
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ from user gene list (Set<ONDEXConcept> userGenes) */
for (ONDEXConcept userGene : userGenes) {
if (!genes.contains(userGene)) {
genes.add(userGene);
geneMap.put(userGene, 0.0); // Ensure the gene is placed into the HashMap
}
}
log.info("Using user gene list... genes: " + genes.size());
Expand Down
Loading

0 comments on commit 25f0079

Please sign in to comment.