Skip to content
Snippets Groups Projects
Commit 28cc8a6d authored by Fernandes Costa, Diogo's avatar Fernandes Costa, Diogo
Browse files

Schreiben der beiden Aufgaben in der labor-Datei

parent 93c41382
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,10 @@ def logging_heater(path: str, uuid: str) -> dict[str, dict[str, float]]:
# This line of code throws an exception. This is just to make sure you can see
# all the code you need to refine. If you already know how to implement the program
# or have done so, then you can safely delete the three lines of code below, as well
sub_group = f.create_group(h5_path)
# as this comment.
raise NotImplementedError(
"Delete these 3 lines if you have finished the code or want to test it.".upper()
# raise NotImplementedError(
# "Delete these 3 lines if you have finished the code or want to test it.".upper()
)
# DONE #
......@@ -106,9 +107,14 @@ def logging_heater(path: str, uuid: str) -> dict[str, dict[str, float]]:
# This line of code throws an exception. This is just to make sure you can see
# all the code you need to refine. If you already know how to implement the program
# or have done so, then you can safely delete the three lines of code below, as well
f[h5_path].create_dataset('Current',data=data_dict[uuid]["Current in Ampere"])
f[h5_path].create_dataset('Voltage',data=data_dict[uuid]["Voltage in Volt"])
f[h5_path].create_dataset('Heat time',data=data_dict[uuid]["Heat time in Seconds"])
# as this comment.
raise NotImplementedError(
"Delete these 3 lines if you have finished the code or want to test it.".upper()
# raise NotImplementedError(
# "Delete these 3 lines if you have finished the code or want to test it.".upper()
)
# DONE #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment