Skip to content

Commit

Permalink
remove extra else
Browse files Browse the repository at this point in the history
  • Loading branch information
damonbayer committed Dec 20, 2024
1 parent 48dc70a commit 85f24fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipelines/prep_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 85f24fa

Please sign in to comment.