A user defined base section is not parsed if I don't use the "base_section:" attribute inside it
I'm aware the title of this issue might appear hermetic. But looking at the yaml is clear.
Non-working example:
definitions:
sections:
User:
section: ### this line is not working
quantities:
name:
type: str
m_annotations:
eln:
component: StringEditQuantity
MeltCzochralski:
base_section: nomad.datamodel.data.EntryData
sub_sections:
users:
repeats: true
m_annotations:
eln:
section:
base_section: User
data:
m_def: MeltCzochralski
users:
- name: Josef
- name: Iason
Working example:
definitions:
sections:
User:
base_section: nomad.datamodel.data.EntryData: ### also nomad.metainfo.metainfo.Section is fine
quantities:
name:
type: str
m_annotations:
eln:
component: StringEditQuantity
MeltCzochralski:
base_section: nomad.datamodel.data.EntryData
sub_sections:
users:
repeats: true
m_annotations:
eln:
section:
base_section: User
data:
m_def: MeltCzochralski
users:
- name: Josef
- name: Iason