Commit d57a0340 authored by Konrad Hinsen's avatar Konrad Hinsen

Traduction de l'analyse du syndrome grippal en snakemake

parent 6c3faccc
......@@ -9,7 +9,7 @@ rule preprocess:
"data/weekly-incidence.csv"
output:
data="data/preprocessed-weekly-incidence.csv",
errorlog="data/errors-from-preprocessing.csv"
errorlog="data/errors-from-preprocessing.txt"
script:
"scripts/preprocess.py"
......
......@@ -64,5 +64,6 @@ with open(snakemake.output.errorlog, "a") as errorlog:
# 2. the incidence estimate for that week
with open(snakemake.output.data, "w") as csvfile:
csv_writer = csv.writer(csvfile)
csv_writer.writerow(["week_starting", "incidence"])
for row in converted_data:
csv_writer.writerow(row)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment