Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Calorimetry_Laboratory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramirez Saldana, Santiago
Calorimetry_Laboratory
Commits
28cc8a6d
Commit
28cc8a6d
authored
1 year ago
by
Fernandes Costa, Diogo
Browse files
Options
Downloads
Patches
Plain Diff
Schreiben der beiden Aufgaben in der labor-Datei
parent
93c41382
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
functions/m_labor.py
+10
-4
10 additions, 4 deletions
functions/m_labor.py
with
10 additions
and
4 deletions
functions/m_labor.py
+
10
−
4
View file @
28cc8a6d
...
...
@@ -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 #
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment