Skip to content

Commit 44692ec

Browse files
authored
Merge pull request #11 from reichlab/ngr/fix-10
Change order of covariates,
2 parents 154728b + acddd93 commit 44692ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/idmodels/sarix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run(self, run_config):
3131
.assign(delta_xmas = lambda x: x["season_week"] - x["xmas_week"])
3232
df["xmas_spike"] = np.maximum(3 - np.abs(df["delta_xmas"]), 0)
3333

34-
xy_colnames = ["inc_trans_cs"] + self.model_config.x
34+
xy_colnames = self.model_config.x + ["inc_trans_cs"]
3535
df = df.query("wk_end_date >= '2022-10-01'").interpolate()
3636
batched_xy = df[xy_colnames].values.reshape(len(df["location"].unique()), -1, len(xy_colnames))
3737

0 commit comments

Comments
 (0)