Skip to content

Commit 9ad3702

Browse files
committed
lookup
1 parent ba22168 commit 9ad3702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v03_pipeline/lib/misc/lookup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def remove_project(
143143
)
144144
ht = ht.filter(hl.any(ht.project_stats.map(hl.is_defined)))
145145
return ht.annotate_globals(
146-
project_guids=project_indexes_to_keep.map(
147-
lambda i: ht.project_guids[i],
146+
project_guids = ht.project_guids.filter(
147+
lambda p: p != project_guid,
148148
),
149149
project_families=hl.dict(
150150
ht.project_families.items().filter(lambda item: item[0] != project_guid),

0 commit comments

Comments
 (0)