Skip to content

Commit

Permalink
πŸ› Fix organism in curator.standardize (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun authored Dec 10, 2024
1 parent a6c1d80 commit 0f90711
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lamindb/_can_curate.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ def _standardize(
organism = (
organism_record.name if organism_record is not None else organism_record
)
else:
organism = None

# only perform synonym mapping if field is the name field
if hasattr(registry, "_name_field") and field != registry._name_field:
Expand Down

0 comments on commit 0f90711

Please sign in to comment.