Skip to content

Commit

Permalink
fix(abr-testing): fixed table header syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rclarke0 committed Jul 16, 2024
1 parent 930efc6 commit 83f50ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abr-testing/abr_testing/data_collection/abr_robot_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def compare_current_trh_to_average(
avg_rh = round(mean(relevant_temp_rhs["Relative Humidity (%)"]), 2)
except StatisticsError:
# If there is one value assign it as the average.
if len(relevant_temp_rhs["Temp oC"]) == 1:
avg_temp = relevant_temp_rhs["Temp oC"][0]
if len(relevant_temp_rhs["Temp (oC)"]) == 1:
avg_temp = relevant_temp_rhs["Temp (oC)"][0]
avg_rh = relevant_temp_rhs["Relative Humidity (%)"][0]
else:
avg_temp = None
Expand Down

0 comments on commit 83f50ac

Please sign in to comment.