Using ReferenceEditQuantity with a nexus file shows `path does not exist`
I tried to embed nomad metainfo generated from a nexus file into an eln. For this I created a small example yaml file:
definitions:
name: "ELN schema for transmission experiments"
sections:
Measurement:
quantities:
measurement_1:
type: nomad.metainfo.Section
m_annotations:
eln:
component: ReferenceEditQuantity
and a JSON data file, which refers to nexus archive data (with entry id: 2Rb1PPVz9w1ifPQxObN46-OshE_L)
"root":{
"data":{
"m_def": "../upload/raw/test.scheme.archive.yaml#/definitions/section_definitions/0"
"measurement_1": "../upload/archive/2Rb1PPVz9w1ifPQxObN46-OshE_L#/data/nexus"
}
}
I created the json file manually, because I could not select the file with the ReferenceEditQuantity
and when I now display the ELN quantity I get a path not found (see screenshot below) but the linking generally seems to work as it is displayed in the overview of the entry. The nexus file it links to is just the SiO2onSi.ellips.nxs
from the ellipsometry example inside nomad.
What I would like to have:
- Properly displayed nexus data file references in ReferenceEditQuantity
- Being able to select
.nxs
files directly from ReferenceEditQuantities to do the referencing I did above not only manually with the entry id.