Skip to content

Commit

Permalink
✏️ Fix NA values in Curator.add_new_from
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun committed Dec 20, 2024
1 parent 3ce9edd commit 13638f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lamindb/curators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2251,6 +2251,7 @@ def update_registry(
registry = field.field.model
filter_kwargs = check_registry_organism(registry, organism)
filter_kwargs.update({"source": source} if source else {})
values = [i for i in values if isinstance(i, str) and i]
if not values:
return

Expand Down

0 comments on commit 13638f7

Please sign in to comment.