TableData parser is not run when I call it within one of the Tasks in the Workflow
Given the following schema, I generate a data file containing 2 tasks. One is a simple reference to a standalone data file (process.data.archive.yaml) the other is inheriting directly from a class I defined.
Pressing save fills only the standalone data object but not the one listed in the tasks.
- movpe_sto.schema.archive.yaml
definitions:
name: 'Electronic Lab Notebook'
sections:
MovpeSto_experiment:
base_section: ../upload/raw/base_classes.schema.archive.yaml#Workflow
m_annotations:
eln:
dict()
sub_sections:
instrument:
section:
m_annotations:
eln:
base_section: ../upload/raw/base_classes.schema.archive.yaml#Entity
Process_movpesto:
base_sections:
- ../upload/raw/base_classes.schema.archive.yaml#Activity
- nomad.parsing.tabular.TableData
m_annotations:
eln:
quantities:
data_file:
type: str
m_annotations:
tabular_parser:
comment: '#'
mode: row
target_sub_section:
- tasks
browser:
adaptor: RawFileAdaptor
eln:
component: FileEditQuantity
sub_sections:
tasks:
repeats: true
section:
base_section: ../upload/raw/base_classes.schema.archive.yaml#Procedure_step
m_annotations:
eln:
quantities:
name:
type: str
description: what this step consists of
m_annotations:
tabular:
name: Processdata/Reason
eln:
component: StringEditQuantity
- movpe_sto.data.archive.yaml
data:
m_def: ../upload/raw/movpe_sto.schema.archive.yaml#MovpeSto_experiment
users:
responsible_person:
- user_id: 5c87d4dd-5b6a-4759-9946-fff9bbd7cd44
tasks:
- m_def: ../upload/raw/base_classes.schema.archive.yaml#TaskReference
name: "Epitaxial Growth"
task: ../upload/raw/process.data.archive.yaml#data
- m_def: ../upload/raw/movpe_sto.schema.archive.yaml#Process_movpesto
data_file: datafile.xlsx
id: "22-01-21-MA-255"
timestamp: 2022-08-25 10:33:25.013+02
notes: "films can be stoichiometric or off-stoichiometric. Cation ratios in absolute numbers see Precursor"
- process.data.archive.yaml
data:
m_def: ../upload/raw/movpe_sto.schema.archive.yaml#Process_movpesto
data_file: datafile.xlsx
id: "22-01-21-MA-255"
timestamp: 2022-08-25 10:33:25.013+02
notes: "films can be stoichiometric or off-stoichiometric. Cation ratios in absolute numbers see Precursor"