"lab_id" or "name" quantities not properly shown in GUI when they are references picked from other quantities
I'm trying to set the name
quantity as a reference picked from lab_id
quantity. Or viceversa.
This is the schema:
definitions:
name: 'MOVPE Experiment (IKZ Ga2O3)'
sections:
Substrate:
base_sections:
- nomad.datamodel.metainfo.eln.Ensemble
- nomad.datamodel.data.EntryData
quantities:
name:
type: '#/definitions/section_definitions/0/quantities/2'
default: '#/data/lab_id'
delivery_date:
type: Datetime
description: Date of the delivery
m_annotations:
eln:
component: DateTimeEditQuantity
tabular:
name: Substrate/Delivery Date
lab_id:
type: str
description: FILL
m_annotations:
eln:
component: StringEditQuantity
tabular:
name: Substrate/Substrates
The reference is correct in the Substrate archive file. But somehow the default value '#/data/lab_id'
is not resolved in the upload dashboard or in the explore panel.
This is the first case when "name" is a reference:
This is the second case when "lab_id" is a reference: