Skip to content

Commit

Permalink
Move dummy_rows.csv.gz
Browse files Browse the repository at this point in the history
Moving it from the `output` directory to the `analysis` directory means
that you can to scrub the `output` directory for a clean local run.
  • Loading branch information
iaindillingham committed Dec 14, 2023
1 parent b556592 commit 43e232a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion analysis/generate_dummy_rows.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main():
("SGSS_Negative", "2020-01-01", "2022-11-17"),
("SGSS_Positive", "2020-01-03", "2022-01-29"),
]
f_out = utils.OUTPUT_DIR / "generate_dummy_rows" / "dummy_rows.csv.gz"
f_out = utils.ANALYSIS_DIR / "dummy_rows.csv.gz"

utils.makedirs(f_out.parent)
data_frame = make_dummy_rows(tables)
Expand Down
2 changes: 1 addition & 1 deletion project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actions:
query:
run: >
sqlrunner:latest
--dummy-data-file output/generate_dummy_rows/dummy_rows.csv.gz
--dummy-data-file analysis/dummy_rows.csv.gz
--output output/query/rows.csv.gz
analysis/query.sql
outputs:
Expand Down

0 comments on commit 43e232a

Please sign in to comment.