Skip to content

Commit 0d1e008

Browse files
committed
Reset less of the style.
Refs #503
1 parent 234337e commit 0d1e008

File tree

1 file changed

+7
-6
lines changed
  • EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/style

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,17 +226,18 @@ else if(scope == ONLY_EDGE_WIDTH) {
226226
}
227227
else if(scope == ONLY_CHARTS) {
228228
setNodeChartDefaults(vs, chartType);
229-
setNodeShapes(vs, options, chartType);
230-
setNodeSize(vs, options, chartType);
229+
// setNodeShapes(vs, options, chartType);
230+
// setNodeSize(vs, options, chartType);
231231
setNodeChart(vs, chart);
232232
}
233233
else if(scope == ONLY_DATASETS) {
234+
// commented out some parts of the style because of https://github.com/BaderLab/EnrichmentMapApp/issues/503
234235
setEdgePaint(vs, options);
235236
setNodeChartDefaults(vs, chartType);
236-
setNodeShapes(vs, options, chartType);
237-
setNodeSize(vs, options, chartType);
237+
// setNodeShapes(vs, options, chartType);
238+
// setNodeSize(vs, options, chartType);
238239
setNodeChart(vs, chart);
239-
setNodeColors(vs, options);
240+
// setNodeColors(vs, options);
240241
}
241242
else if(scope == PUBLICATION_READY) {
242243
if (options.isPublicationReady()) {
@@ -601,7 +602,7 @@ private void setNodeSize(VisualStyle vs, EMStyleOptions options, ChartType chart
601602

602603
// These values used to be 10 and 474 and were changed in EM 3.3.1
603604
// See GitHub issue https://github.com/BaderLab/EnrichmentMapApp/issues/422
604-
int val0 = 2, val1 = 500;
605+
final int val0 = 2, val1 = 500;
605606

606607
VisualMappingFunction<?, Double> oldMapping = vs.getVisualMappingFunction(NODE_SIZE);
607608

0 commit comments

Comments
 (0)