ELN overview annotation not recognized in YAML
Currently the m_annotation for eln overview does not work for a subsection without defining a nested section. I.e. the ordering_detail
sub section in the schema below does not show in the overview:
definitions:
name: ConCat Supplier Schema
sections:
Supplier:
base_sections:
- nomad.datamodel.data.EntryData
quantities:
name:
type: string
m_annotations:
eln:
component: StringEditQuantity
url:
type: string
m_annotations:
eln:
component: URLEditQuantity
sub_sections:
ordering_details:
section: OrderingData
m_annotations:
eln:
overview: True
OrderingData:
quantities:
customer_number:
type: string
m_annotations:
eln:
component: StringEditQuantity
contact_person:
type: Author
m_annotations:
eln:
component: AuthorEditQuantity
Whilst for this one it does:
definitions:
name: ConCat Supplier Schema
sections:
Supplier:
base_sections:
- nomad.datamodel.data.EntryData
quantities:
name:
type: string
m_annotations:
eln:
component: StringEditQuantity
url:
type: string
m_annotations:
eln:
component: URLEditQuantity
sub_sections:
ordering_details:
section:
base_sections:
- OrderingData
m_annotations:
eln:
overview: True
OrderingData:
quantities:
customer_number:
type: string
m_annotations:
eln:
component: StringEditQuantity
contact_person:
type: Author
m_annotations:
eln:
component: AuthorEditQuantity