Skip to content

Commit

Permalink
Stop skipping first line after fix from CovidStat, force workflow tri…
Browse files Browse the repository at this point in the history
…gger.

Co-Authored-By: Pietro Monticone <[email protected]>
Co-Authored-By: Claudio Moroni <[email protected]>
  • Loading branch information
3 people committed Feb 24, 2022
1 parent f30b189 commit 4f44384
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ name: update

# Choose when the workflow should run
## Run the workflow at every push
# on: [push]
on: [push]
## Run the workflow every 6 minutes (see https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#scheduled-events)
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '59 22 * * 3'
# on:
# schedule:
# # * is a special character in YAML so you have to quote this string
# - cron: '59 22 * * 3'
# Workflows are made of concurrent jobs, and every job is made of sequenctial steps. Steps may invoce actions.
jobs:
# Name of the job
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/raw_initial_conditions/
2 changes: 1 addition & 1 deletion src/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Threads.@threads for i in eachindex(female_male_paths_without_lombardy_positives
incidence_dataframe = CSV.read(input_path,DataFrame)
reconstructed_df::DataFrame = DataFrame()
try
reconstructed_df = unroll_iss_infn(incidence_dataframe, n₋, n₊,nothing)
reconstructed_df = unroll_iss_infn(incidence_dataframe, n₋, n₊,nothing; skip_lines = 0)
save_dataframe_to_csv(reconstructed_df,output_files_dir_path,output_name)
catch e
if isa(e, ErrorException)
Expand Down

0 comments on commit 4f44384

Please sign in to comment.