Closed domna closed 1 month ago
Line 327 is still makes a preferred assignment to fields rather than to attributes. The code here should also check for type of the concept.
Line 327 is still makes a preferred assignment to fields rather than to attributes. The code here should also check for type of the concept.
I think it's fine because line 351 already avoids calling get_own_nxdl_child_base_types
if nexus_type
does not match:
https://github.com/FAIRmat-NFDI/nexus_definitions/blob/4991e2f103dbd359910e0b2e66fba89e2a041e7d/dev_tools/utils/nxdl_utils.py#L351-L355
Indeed, but only if it was provided by the caller
Fix that attributes are found as fields if they have there are fields with the same name.