Skip to content

Commit 187cdf5

Browse files
committed
format
1 parent 5c8db3c commit 187cdf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

v03_pipeline/lib/misc/family_entries.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ def remove_family_guids(
109109
# NB: this "should" work without the extra if statement (and does in the tests)
110110
# however, experiments on dataproc showed this statement hanging with an empty
111111
# unevaluated indexes array.
112-
family_entries=hl.array(family_indexes_to_keep).map(lambda i: ht.family_entries[i])
112+
family_entries=hl.array(family_indexes_to_keep).map(
113+
lambda i: ht.family_entries[i]
114+
)
113115
if len(family_indexes_to_keep) > 0
114116
else hl.empty_array(ht.family_entries.dtype.element_type),
115117
)

0 commit comments

Comments
 (0)