Skip to content

Commit

Permalink
ALS-5819: Save empty variant masks as null
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Feb 22, 2024
1 parent 6490593 commit 7e4a3f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public VariableVariantMasks(char[][] maskValues) {

private VariantMask variantMaskFromRawString(String maskStringRaw) {
if (!maskStringRaw.contains("1")) {
return new VariantMaskSparseImpl(Set.of());
return null;
}

VariantMask variantMask;
Expand Down

0 comments on commit 7e4a3f1

Please sign in to comment.