Skip to content

Commit 23ff13f

Browse files
authored
Merge pull request #632 from FAIRmat-NFDI/inheritance-fix
2 parents 8f3ffb2 + f0da96e commit 23ff13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pynxtools/dataconverter/nexus_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def _check_enum_fit(xml_elem: ET._Element) -> bool:
905905
if elem_enum is not None:
906906
if self.items is None:
907907
# Case where inherited entity is enumerated, but current node isn't
908-
return False
908+
return True
909909
elem_enum_open = elem_enum.attrib.get("open", "false")
910910

911911
if elem_enum_open == "true":

0 commit comments

Comments
 (0)