Skip to content

Commit

Permalink
fix: skip concepts that have no identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 3, 2024
1 parent 5351e08 commit d3d3e1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arches_orm/static/datatypes/concepts.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ def load_concept_path(concept_root: Path) -> None:
"value": value_dict["value"],
"id": UUID(value_dict["id"]),
}
if "id" not in top_attributes:
continue
title_attributes["concept_id"] = top_attributes["id"]
top_attributes["values"] = {title_attributes["id"]: StaticValue(**title_attributes)}
static_concept = StaticConcept(**top_attributes)
Expand Down

0 comments on commit d3d3e1f

Please sign in to comment.