Skip to content

Commit 22a744a

Browse files
committed
bugfix: correct type if no males in family
1 parent 574aba7 commit 22a744a

File tree

1 file changed

+1
-1
lines changed
  • v03_pipeline/lib/misc

1 file changed

+1
-1
lines changed

v03_pipeline/lib/misc/sv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def overwrite_male_non_par_calls(
116116
s.sample_id for f in families for s in f.samples.values() if s.sex == Sex.MALE
117117
}
118118
male_sample_ids = (
119-
hl.set(male_sample_ids) if male_sample_ids else hl.empty_set(hl.str)
119+
hl.set(male_sample_ids) if male_sample_ids else hl.empty_set(hl.tstr)
120120
)
121121
par_intervals = hl.array(
122122
[

0 commit comments

Comments
 (0)