Skip to content

Commit 8e9c5cc

Browse files
committed
add tabular parser
1 parent d5144f9 commit 8e9c5cc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ reaction, participants = pe.fetch_rhea("RHEA:22864", vessel_id=vessel.id)
8686
enzmldoc.small_molecules += participants
8787
enzmldoc.reactions.append(reaction)
8888

89+
# Parse a tabular file to a measurement
90+
measurements = pe.from_excel(
91+
path="measurements.xlsx",
92+
data_unit="mmol / l",
93+
time_unit="h",
94+
)
95+
96+
enzmldoc.measurements += measurements
97+
8998
# Serialize to EnzymeML
9099
pe.write_enzymeml(enzmldoc, "enzmldoc.json")
91100

0 commit comments

Comments
 (0)