Skip to content

Commit

Permalink
[ALS-5356] _harmonized_consent displayed in Open Variable Distributio…
Browse files Browse the repository at this point in the history
…ns (#158)

* [ALS-5356] Remove empty harmonized consent graph
  • Loading branch information
Gcolon021 authored Nov 16, 2023
1 parent 2dc525d commit f4fb15f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public List<CategoricalData> getCategoricalData(Map<String, Map<String, Integer>

for (Map.Entry<String, Map<String, Integer>> entry : crossCountsMap.entrySet()) {
Map<String, Integer> 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());
Expand Down Expand Up @@ -81,6 +81,7 @@ public List<ContinuousData> getContinuousData(Map<String, Map<String, Integer>>

// If it's not obfuscated we need to bin the data
for (Map.Entry<String, Map<String, Integer>> entry : crossCountsMap.entrySet()) {
if (VisualizationUtil.skipKey(entry.getKey())) continue;
String title = getChartTitle(entry.getKey());

LinkedHashMap<String, Integer> binnedData;
Expand Down

0 comments on commit f4fb15f

Please sign in to comment.