We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8db3c commit 187cdf5Copy full SHA for 187cdf5
v03_pipeline/lib/misc/family_entries.py
@@ -109,7 +109,9 @@ def remove_family_guids(
109
# NB: this "should" work without the extra if statement (and does in the tests)
110
# however, experiments on dataproc showed this statement hanging with an empty
111
# unevaluated indexes array.
112
- family_entries=hl.array(family_indexes_to_keep).map(lambda i: ht.family_entries[i])
+ family_entries=hl.array(family_indexes_to_keep).map(
113
+ lambda i: ht.family_entries[i]
114
+ )
115
if len(family_indexes_to_keep) > 0
116
else hl.empty_array(ht.family_entries.dtype.element_type),
117
)
0 commit comments