Skip to content

Commit be1a8cd

Browse files
committed
ruff
1 parent 34da8a3 commit be1a8cd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

v03_pipeline/lib/misc/family_entries.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,13 @@ def remove_family_guids(
9898
family_guids: hl.SetExpression,
9999
) -> hl.Table:
100100
# Remove families from the existing project table structure (both the entries arrays and the globals are mutated)
101-
family_indexes_to_keep = hl.eval(hl.array(
102-
hl.enumerate(ht.globals.family_guids)
103-
.filter(lambda item: ~family_guids.contains(item[1]))
104-
.map(lambda item: item[0]),
105-
))
101+
family_indexes_to_keep = hl.eval(
102+
hl.array(
103+
hl.enumerate(ht.globals.family_guids)
104+
.filter(lambda item: ~family_guids.contains(item[1]))
105+
.map(lambda item: item[0]),
106+
)
107+
)
106108
ht = ht.annotate(
107109
# NB: this "should" work without the extra if statement (and does in the tests)
108110
# however, experiments on dataproc showed this statement hanging with an empty

0 commit comments

Comments
 (0)