Skip to content

Commit 34da8a3

Browse files
committed
lint
1 parent 41300a3 commit 34da8a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

v03_pipeline/lib/misc/family_entries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ def remove_family_guids(
105105
))
106106
ht = ht.annotate(
107107
# NB: this "should" work without the extra if statement (and does in the tests)
108-
# however, experiments on dataproc showed this statement hanging with an empty
108+
# however, experiments on dataproc showed this statement hanging with an empty
109109
# indexes array.
110110
family_entries=family_indexes_to_keep.map(lambda i: ht.family_entries[i])
111111
if len(family_indexes_to_keep) > 0
112-
else hl.empty_array(ht.family_entries.dtype.element_type)
112+
else hl.empty_array(ht.family_entries.dtype.element_type),
113113
)
114114
return ht.annotate_globals(
115115
family_guids=ht.family_guids.filter(

v03_pipeline/lib/misc/lookup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ def remove_project(
131131
project_indexes_to_keep = hl.eval(
132132
hl.enumerate(existing_project_guids)
133133
.filter(lambda item: item[1] != project_guid)
134-
.map(lambda item: item[0])
134+
.map(lambda item: item[0]),
135135
)
136136
ht = ht.annotate(
137137
project_stats=(
138138
# See "remove_family_guids" func for why this was necessary
139-
project_stats=project_indexes_to_keep.map(lambda i: ht.project_stats[i])
139+
project_indexes_to_keep.map(lambda i: ht.project_stats[i])
140140
if len(project_indexes_to_keep) > 0
141141
else hl.empty_array(ht.project_stats.dtype.element_type)
142142
),

0 commit comments

Comments
 (0)