Skip to content

Commit

Permalink
update markdown
Browse files Browse the repository at this point in the history
distinguish between 'type' and 'data_type'
  • Loading branch information
sH4MbLe5 committed Sep 23, 2023
1 parent b5360ca commit bbb668e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datamodel_b07_tc/tools/readers/gstaticparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
)
Expand Down
5 changes: 4 additions & 1 deletion specifications/datamodel_b07_tc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bbb668e

Please sign in to comment.