Skip to content

Commit 748f06f

Browse files
committed
Show all datasets for signature node in heatmap.
Refs #450
1 parent 7f1155e commit 748f06f

File tree

1 file changed

+1
-1
lines changed
  • EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/heatmap/table

1 file changed

+1
-1
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/heatmap/table/HeatMapTableModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void update(
8686

8787
if(map != null && map.isCommonExpressionValues()) {
8888
this.datasets = map.getDataSetList().subList(0, 1);
89-
} else if(map != null && datasets == null) {
89+
} else if(map != null && (datasets == null || datasets.isEmpty())) { // datasets can be empty for signature nodes
9090
this.datasets = map.getDataSetList();
9191
} else if(datasets != null) {
9292
this.datasets = new ArrayList<>(datasets);

0 commit comments

Comments
 (0)