Skip to content

Commit 5ca97d9

Browse files
committed
Fix bad migration
1 parent 820b13a commit 5ca97d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v03_pipeline/migrations/lookup/0001_remove_null_families.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class RemoveNullFamilies(BaseMigration):
1919
def migrate(ht: hl.Table) -> hl.Table:
2020
ht = ht.annotate(
2121
project_stats=ht.project_stats.map(
22-
lambda ps: hl.or_missing(hl.all(ps.map(hl.is_defined)), ps),
22+
lambda ps: hl.or_missing(hl.any(ps.map(hl.is_defined)), ps),
2323
),
2424
)
2525
return ht.annotate_globals(migrations=hl.empty_array(hl.tstr))

0 commit comments

Comments
 (0)