From bbb668ee02d61b804e0aaa03c0a40b01dd45cfd3 Mon Sep 17 00:00:00 2001 From: sH4MbLe5 Date: Sat, 23 Sep 2023 21:56:54 +0200 Subject: [PATCH] update markdown distinguish between 'type' and 'data_type' --- datamodel_b07_tc/tools/readers/gstaticparser.py | 2 +- specifications/datamodel_b07_tc.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/datamodel_b07_tc/tools/readers/gstaticparser.py b/datamodel_b07_tc/tools/readers/gstaticparser.py index 79a28a8..4a25f8e 100644 --- a/datamodel_b07_tc/tools/readers/gstaticparser.py +++ b/datamodel_b07_tc/tools/readers/gstaticparser.py @@ -28,7 +28,7 @@ def extract_metadata(self, metadata: Path) -> dict: metadata_list.append( Metadata( parameter=metadata_df["Parameter"][index], - data_type=metadata_df["Data_type"][index], + type=metadata_df["Type"][index], value=metadata_df["Value"][index], description=metadata_df["Description"][index], ) diff --git a/specifications/datamodel_b07_tc.md b/specifications/datamodel_b07_tc.md index b631463..f48c0f8 100644 --- a/specifications/datamodel_b07_tc.md +++ b/specifications/datamodel_b07_tc.md @@ -264,8 +264,11 @@ Stoichiometric information about the compound. - Type: string - Description: abbreviation for the parameter. - type + - Type: string + - Description: type of the parameter, e.g. a quantity, a toggle, a label. +- data_type - Type: DataType - - Description: type of the parameter. + - Description: type of the data, e.g. string, float, bool. - mode - Type: string - Description: mode of the parameter. E.g., on and off.