diff --git a/claims_hosp/delphi_claims_hosp/indicator.py b/claims_hosp/delphi_claims_hosp/indicator.py index 467772801..e2d9b48dc 100644 --- a/claims_hosp/delphi_claims_hosp/indicator.py +++ b/claims_hosp/delphi_claims_hosp/indicator.py @@ -144,7 +144,7 @@ def fit(y_data, first_date, geo_id, num_col="num", den_col="den"): rate_data['se'] = se_valid logging.debug( - "%s: %05.3f, [%05.3f]".format(geo_id, rate_data["rate"][-1], rate_data["se"][-1]), + f"{geo_id}: %05.3f, [%05.3f]".format(rate_data["rate"][-1], rate_data["se"][-1]), geo_value=geo_id, value=rate_data["rate"][-1], se=rate_data["se"][-1],