Skip to content

Commit cdf077a

Browse files
Change variable name
1 parent 0c3cb2b commit cdf077a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openMINDS_pipeline/vocab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ def _extract_property(self, type: str, property: str, definition: dict):
343343
# Automatically calculated values
344344
property_basename = os.path.basename(property)
345345
if "label" not in prop:
346-
prop["label"] = _camel_case_to_human_readable(unqualified_property)
346+
prop["label"] = _camel_case_to_human_readable(property_basename)
347347
if "name" not in prop:
348-
prop["name"] = unqualified_property
348+
prop["name"] = property_basename
349349

350350
if "usedIn" not in prop:
351351
prop["usedIn"] = {}

0 commit comments

Comments
 (0)