Skip to content

Commit

Permalink
fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-wright committed Jun 26, 2024
1 parent 634024b commit c2f4a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mercury/Table.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def perform_quality_check(self):
elif int(row["vadr_num_alerts"]) > self.vadr_alert_limit:
notification = "VADR number alerts too high: " + str(row["vadr_num_alerts"]) + " greater than limit of " + str(self.vadr_alert_limit)
quality_exclusion = pd.concat([quality_exclusion, pd.Series({"sample_name": row[self.table_name.lower()], "message": notification}).to_frame().T], ignore_index=True)
elif int(row["number_N"]) > self.number_n_threshold:
notification="Number of Ns was too high: " + str(row["number_N"]) + " greater than limit of " + str(self.number_n_threshold)
elif int(row["number_n"]) > self.number_n_threshold:
notification="Number of Ns was too high: " + str(row["number_n"]) + " greater than limit of " + str(self.number_n_threshold)
quality_exclusion = pd.concat([quality_exclusion, pd.Series({"sample_name": row[self.table_name.lower()], "message": notification}).to_frame().T], ignore_index=True)
if pd.isna(row["year"]):
notification="The collection date format was incorrect"
Expand Down

0 comments on commit c2f4a06

Please sign in to comment.