Skip to content

Commit

Permalink
fix: not able to save QC (#42371)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Jul 17, 2024
1 parent c8dad97 commit 62fb495
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ def get_formula_evaluation_data(self, reading):
# numeric readings
for i in range(1, 11):
field = "reading_" + str(i)
if reading.get(field) is None:
continue

data[field] = parse_float(reading.get(field))
data["mean"] = self.calculate_mean(reading)

Expand Down

0 comments on commit 62fb495

Please sign in to comment.