diff --git a/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java b/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java index a25924c4..1988aab4 100644 --- a/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java +++ b/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java @@ -45,10 +45,10 @@ public List getCategoricalData(Map for (Map.Entry> entry : crossCountsMap.entrySet()) { Map axisMap; + if (VisualizationUtil.skipKey(entry.getKey())) continue; if (!isOpenAccess) { // If open access we need to process the data // skipKey is expecting an entrySet, so we need to convert the axisMap to an entrySet - if (VisualizationUtil.skipKey(entry.getKey())) continue; axisMap = VisualizationUtil.doProcessResults(entry.getValue()); } else { axisMap = new LinkedHashMap<>(entry.getValue()); @@ -81,6 +81,7 @@ public List getContinuousData(Map> // If it's not obfuscated we need to bin the data for (Map.Entry> entry : crossCountsMap.entrySet()) { + if (VisualizationUtil.skipKey(entry.getKey())) continue; String title = getChartTitle(entry.getKey()); LinkedHashMap binnedData;