Datetime is not correctly parsed from the tabular file
I tried to place a datetime quantity in the csv file but it is somehow misparsed. If I place it in the data section, it is parsed correctly.
Following you can find the archive yaml file and the csv file.
The two quantities under investigation are:
i) start_time (parsed from csv)
ii) end_time (contained in the archive file)
definitions:
name: 'Electronic Lab Notebook schema fot MOVPE-STO'
sections: # Schemas consist of section definitions
MovpeSto_schema: # This is the name of the first section
# Inheriting it from EntryData, makes this section a possible
# EntryArchive.data sub-section
base_section: nomad.datamodel.data.EntryData
sub_sections:
synthesis:
section:
base_section: nomad.parsing.tabular.TableData
quantities:
data_file:
type: str
description: |
A reference to an uploaded .csv
m_annotations:
# The tabular_parser annotation, will treat the values of this
# quantity as files. It will try to interpret the files and fill
# quantities in this section (and sub_section) with the column
# data of .csv or .xlsx files.
tabular_parser:
sep: ','
comment: '#'
browser:
adaptor: RawFileAdaptor # Allows to navigate to files in the data browser
eln:
component: FileEditQuantity # A form field that allows to drop and select files.
experiment_identifier:
type: str
m_annotations:
# The tabular annotation defines a mapping to column headers used in
# tabular data files
tabular:
name: Experiment Identifier
eln:
component: StringEditQuantity
experiment_location:
type: str
m_annotations:
tabular:
name: Experiment Location
eln:
component: StringEditQuantity
start_time:
type: Datetime
m_annotations:
tabular:
name: Start Time
eln:
component: DateTimeEditQuantity
end_time:
type: Datetime
m_annotations:
eln:
component: DateTimeEditQuantity
data:
m_def: MovpeSto_schema
synthesis:
data_file: ELAB-255_NEW-STD_TEST.csv
experiment_identifier:
experiment_location:
start_time:
end_time: 2022-01-22 10:00:00+01