Skip to content

Commit

Permalink
correct bnd/unresolve check
Browse files Browse the repository at this point in the history
  • Loading branch information
ACEnglish committed Nov 20, 2024
1 parent 25898a1 commit b8c9056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truvari/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def chunker(matcher, *files):
continue

# check symbolic, resolve if needed/possible
if matcher.params.pctseq != 0 and entry.alleles_variant_types[-1] == 'BND' or entry.alts[0].startswith('<'):
if matcher.params.pctseq != 0 and (entry.alleles_variant_types[-1] == 'BND' or entry.alts[0].startswith('<')):
was_resolved = resolve_sv(entry,
matcher.reference,
matcher.params.dup_to_ins)
Expand Down

0 comments on commit b8c9056

Please sign in to comment.