Skip to content

Commit

Permalink
Add loging
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Mar 1, 2024
1 parent 3ef57d0 commit c0a9445
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public FileBackedJsonIndexStorage<Integer, ConcurrentHashMap<String, VariableVar
Map<String, VariableVariantMasks> masks1 = variantMaskStorage1.get(key);
Map<String, VariableVariantMasks> masks2 = variantMaskStorage2.get(key);
if (masks2 == null) {
log.info("Key " + key + " not found in dataset 2");
masks2 = Map.of();
}

Expand All @@ -251,6 +252,7 @@ public FileBackedJsonIndexStorage<Integer, ConcurrentHashMap<String, VariableVar

variantMaskStorage2.keys().forEach(key -> {
if (variantMaskStorage1.get(key) == null) {
log.info("Key " + key + " not found in dataset 1");
ConcurrentHashMap<String, VariableVariantMasks> mergedMasks = new ConcurrentHashMap<>();
Map<String, VariableVariantMasks> masks2 = variantMaskStorage2.get(key);
for (Map.Entry<String, VariableVariantMasks> entry : masks2.entrySet()) {
Expand Down

0 comments on commit c0a9445

Please sign in to comment.