Open rettigl opened 2 months ago
The dataconverter does not check the validity of enumerations, if they are not part of the "nexus_tree" spanned by the application definition explicitly, I.e. for fields that are added from the base_class tree(s). This is handled here: https://github.com/FAIRmat-NFDI/pynxtools/blob/5f1cd3795bbd13b729fb192a7d89886ed3b2949a/src/pynxtools/dataconverter/validation.py#L589 and just continues if a field is documented, without checking if it contains valid data.
@lukaspie Do you have a suggestion? Or is this by design?
The dataconverter does not check the validity of enumerations, if they are not part of the "nexus_tree" spanned by the application definition explicitly, I.e. for fields that are added from the base_class tree(s). This is handled here: https://github.com/FAIRmat-NFDI/pynxtools/blob/5f1cd3795bbd13b729fb192a7d89886ed3b2949a/src/pynxtools/dataconverter/validation.py#L589 and just continues if a field is documented, without checking if it contains valid data.