Skip to content

Commit

Permalink
πŸ› Fix source in from_values
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun committed Jan 1, 2025
1 parent 9520911 commit bafa9de
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lamindb/_from_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ def get_or_create_records(
if from_source:
if isinstance(source, Record):
source_record = source
elif (
len(records) > 0
and hasattr(records[0], "source_id")
and records[0].source_id
):
source_record = records[0].source
if not source_record and hasattr(registry, "public"):
if organism is None:
organism = _ensembl_prefix(nonexist_values[0], field, organism)
Expand Down

0 comments on commit bafa9de

Please sign in to comment.