From 55386d65846f12f51bd73656ef29645dba803d95 Mon Sep 17 00:00:00 2001 From: matthewcornell Date: Wed, 16 Oct 2024 09:33:35 -0400 Subject: [PATCH] closes #1094 by changing tasks.json `target_metadata.target_keys.target` entries from a list of strings to a string --- hub-config/tasks.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/hub-config/tasks.json b/hub-config/tasks.json index 7d9ea880..fe967e1a 100644 --- a/hub-config/tasks.json +++ b/hub-config/tasks.json @@ -145,9 +145,7 @@ "target_name": "week ahead weekly influenza hospitalization rate change", "target_units": "rate per 100,000 population", "target_keys": { - "target": [ - "wk flu hosp rate change" - ] + "target": "wk flu hosp rate change" }, "target_type": "ordinal", "description": "This target represents the change in the rate of new hospitalizations per week comparing the week ending on the reference_date to the week ending [horizon] weeks after the reference_date, on target_end_date.", @@ -326,9 +324,7 @@ "target_name": "incident influenza hospitalizations", "target_units": "count", "target_keys": { - "target": [ - "wk inc flu hosp" - ] + "target": "wk inc flu hosp" }, "target_type": "continuous", "description": "This target represents the count of new hospitalizations in the week ending on the date [horizon] weeks after the reference_date, on the target_end_date.", @@ -473,9 +469,7 @@ "target_name": "incident influenza hospitalizations in the season week with the highest hospitalizations", "target_units": "count", "target_keys": { - "target": [ - "peak inc flu hosp" - ] + "target": "peak inc flu hosp" }, "target_type": "continuous", "description": "This target represents the count of new hospitalizations in the week of the season with the highest reported hospitalizations.", @@ -607,9 +601,7 @@ "target_name": "season week with the highest hospitalizations", "target_units": "count", "target_keys": { - "target": [ - "peak week inc flu hosp" - ] + "target": "peak week inc flu hosp" }, "target_type": "date", "description": "This target represents the week of the season with the highest reported hospitalizations. This is the Saturday ending the epidemic week with the highest reported hospitalization count.",