Skip to content

Commit

Permalink
Don't compress outputs
Browse files Browse the repository at this point in the history
...on L4. It's easier for output checkers if the outputs aren't
compressed. (We still want compressed outputs on L3.)

Closes #74
  • Loading branch information
iaindillingham committed Dec 12, 2023
1 parent b4d8b06 commit 83520f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions analysis/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def main():

d_out = utils.OUTPUT_DIR / "aggregate"
utils.makedirs(d_out)
aggregate(event_counts, "D", "sum").to_csv(d_out / "sum_by_day.csv.gz")
aggregate(event_counts, "W", "mean").to_csv(d_out / "mean_by_week.csv.gz")
aggregate(event_counts, "D", "sum").to_csv(d_out / "sum_by_day.csv")
aggregate(event_counts, "W", "mean").to_csv(d_out / "mean_by_week.csv")


def read(f_in):
Expand Down
2 changes: 1 addition & 1 deletion project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ actions:
run: python:latest python -m analysis.aggregate
outputs:
moderately_sensitive:
aggregates: output/aggregate/*_by_*.csv.gz
aggregates: output/aggregate/*_by_*.csv

plot_from_2016:
needs: [aggregate]
Expand Down

0 comments on commit 83520f3

Please sign in to comment.