From 85f24fa0fe20117abe9ae727ca748816608ecd3d Mon Sep 17 00:00:00 2001 From: Damon Bayer Date: Fri, 20 Dec 2024 17:06:09 -0600 Subject: [PATCH] remove extra else --- pipelines/prep_data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pipelines/prep_data.py b/pipelines/prep_data.py index 0b67fb5..af4af58 100644 --- a/pipelines/prep_data.py +++ b/pipelines/prep_data.py @@ -59,8 +59,7 @@ def py_scalar_to_r_scalar(py_scalar): ) if result.returncode != 0: raise RuntimeError(f"pull_and_save_nhsn: {result.stderr}") - else: - raw_dat = pl.read_csv(result.stdout, separator="\t") + raw_dat = pl.read_csv(result.stdout, separator="\t") dat = raw_dat.with_columns( weekendingdate=pl.col("weekendingdate").cast(pl.Date) )