Skip to content

Commit

Permalink
mezz temp may be missing
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Mar 26, 2024
1 parent 42dd893 commit 916c248
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dfmux/python/Housekeeping.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def HousekeepingFromJSON(cls, dat):
mezzhk.voltages[str(i[0])] = i[1]

if mezzhk.present and mezzhk.power:
mezzhk.temperature = mezz['temperature']
if 'temperature' in mezz:
mezzhk.temperature = mezz['temperature']
# these parameters are not in the 64x housekeeping tuber
mezzhk.squid_heater = mezz.get('squid_heater', 0.0)
mezzhk.squid_controller_power = mezz.get('squid_controller_power', False)
Expand Down

0 comments on commit 916c248

Please sign in to comment.