Skip to content

Commit 10af931

Browse files
committed
Fixes bug that prevented post-analysis edge width from being set right after adding signature gene sets.
1 parent 8a1263a commit 10af931

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/style/EMStyleOptions.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class EMStyleOptions {
1414
private final EnrichmentMap map;
1515
private final Predicate<AbstractDataSet> filter;
1616
private final ChartOptions chartOptions;
17-
private final boolean postAnalysis;
17+
private boolean postAnalysis;
1818
private final boolean publicationReady;
1919

2020
/**
@@ -61,4 +61,8 @@ public boolean isPublicationReady() {
6161
public boolean isPostAnalysis() {
6262
return postAnalysis;
6363
}
64+
65+
public void setPostAnalysis(boolean postAnalysis) {
66+
this.postAnalysis = postAnalysis;
67+
}
6468
}

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/task/postanalysis/CreateDiseaseSignatureTaskFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ public TaskIterator createTaskIterator() {
6565
if(errors.isEmpty()) {
6666
ControlPanelMediator controlPanelMediator = controlPanelMediatorProvider.get();
6767
EMStyleOptions options = controlPanelMediator.createStyleOptions(netView);
68-
CyCustomGraphics2<?> chart = controlPanelMediator.createChart(options);
68+
options.setPostAnalysis(true);
6969

70+
CyCustomGraphics2<?> chart = controlPanelMediator.createChart(options);
7071
List<EMDataSet> dataSetList = getDataSets(map);
7172

7273
TaskIterator tasks = new TaskIterator();

0 commit comments

Comments
 (0)