Bug when Inheriting from Section with Overwritten Property
Something recently changed and there is a new bug when inheriting from a section with an overwritten property.
The following yaml schema:
definitions:
sections:
MySection:
base_section: nomad.datamodel.data.ArchiveSection
quantities:
param:
type: str
MySpecializedSection:
base_section: MySection
quantities:
param:
type: int
MySecondOrderSection:
base_section: MySpecializedSection
Now gives the following definitions in NOMAD:
Note the change in type of param
from str
to int
and then back to str
for some reason.
It used to be, and I would also expect, that the inherited quantity is the overwritten one. This currently breaks already developed yaml schemas in the Area A github repo.