Skip to content

Commit 6cda1e0

Browse files
committed
ruff
1 parent 990a854 commit 6cda1e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v03_pipeline/lib/misc/validation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def validate_allele_type(
2222
),
2323
)
2424
if ht.count() > 0:
25-
collected_alleles = sorted([
26-
tuple(x) for x in ht.aggregate(hl.agg.collect_as_set(ht.alleles))
27-
])
25+
collected_alleles = sorted(
26+
[tuple(x) for x in ht.aggregate(hl.agg.collect_as_set(ht.alleles))]
27+
)
2828
msg = f'Alleles with invalid AlleleType are present in the callset: {collected_alleles}'
2929
raise SeqrValidationError(msg)
3030

0 commit comments

Comments
 (0)