File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/heatmap Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ private void updateSetting_Transform() {
447
447
Compress compress = getContentPanel ().getCompress ();
448
448
HeatMapTableModel tableModel = (HeatMapTableModel ) getContentPanel ().getTable ().getModel ();
449
449
450
- if (tableModel .getCompress () != compress ) {
450
+ if (tableModel .getCompress () != compress ) {
451
451
invokeOnEDT (() -> updateHeatMapPanel ());
452
452
} else {
453
453
tableModel .setTransform (transform , compress );
@@ -460,7 +460,7 @@ private void updateSetting_Transform() {
460
460
private void updateHeatMapPanel () {
461
461
HeatMapParams params = getContentPanel ().buildParams ();
462
462
HeatMapTableModel tableModel = (HeatMapTableModel ) getContentPanel ().getTable ().getModel ();
463
- List <EMDataSet > datasets = tableModel .getDataSets ( );
463
+ List <EMDataSet > datasets = new ArrayList <>( tableModel .getDataSetsInCurrentSelection () );
464
464
EnrichmentMap map = tableModel .getEnrichmentMap ();
465
465
CyNetwork network = networkManager .getNetwork (map .getNetworkID ());
466
466
List <RankingOption > rankOptions = rankingOptionFactory .getDataSetRankOptions (map );
You can’t perform that action at this time.
0 commit comments