Skip to content
Snippets Groups Projects
Commit 93995677 authored by Xia, Ning's avatar Xia, Ning :penguin:
Browse files

added comments

parent 95e38c5d
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,10 @@ while is_log_heater != 0 and is_log_heater != 1:
print()
try:
# Attempt to convert the input to int and store it.
is_log_heater = int(input("measurement process = "))
except ValueError:
# If conversion fails, set value to 2, in order to ask user again.
is_log_heater = 2
# Read the metadata necessary to control test rig from the setup file.
......
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