File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,3 +7,12 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
77PlotUtils = " 995b91a9-d308-5afd-9ec6-746e21dbc043"
88RollingFunctions = " b0e4dd01-7b14-53d8-9b45-175a3e362653"
99XLSX = " fdbf4ff8-1666-58a4-91e7-1b58723a45e0"
10+
11+ [compat ]
12+ CSV = " 0.10"
13+ CairoMakie = " 0.8"
14+ DataFrames = " 1.3"
15+ Distributions = " 0.25"
16+ PlotUtils = " 1.3"
17+ RollingFunctions = " 0.6"
18+ XLSX = " 0.8"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function read_one_sheet_xlsx(fn)
1212
1313 length (sheets) == 1 || @throw DomainError length (sheets) " unexpected number of sheets"
1414
15- return DataFrame (XLSX. gettable (xls[sheets[1 ]])... )
15+ return DataFrame (XLSX. gettable (xls[sheets[1 ]]))
1616end
1717
1818normalize! (x; sum_args... ) = x ./= sum (x; sum_args... )
Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ log () {
1515
1616echo " found $FILE " | log find_input
1717
18- IMAGE=researchluxembourg/restimator
18+ IMAGE=ghcr.io/ researchluxembourg/restimator
1919MOUNT=" -v $PWD /input:/tool/input -v $PWD /output:/tool/output -v $PWD /logs:/tool/logs "
2020DOCKER=" docker run --rm $MOUNT $IMAGE julia --project "
2121
2222mkdir -p output logs
2323export RESTIMATOR_OUTDIR=output
2424
25- if $DOCKER components/check_input.jl " $FILE " | log check
25+ if $DOCKER components/check_input.jl " $FILE "
2626then
27- $DOCKER components/estimate_r_t.jl " $FILE " | log rt
28- $DOCKER components/estimate_r_eff.jl " $FILE " | log reff
27+ $DOCKER components/estimate_r_t.jl " $FILE " 2>&1 | log rt
28+ $DOCKER components/estimate_r_eff.jl " $FILE " 2>&1 | log reff
2929else
3030 echo $0 : check failed >&2
3131 exit 1
32- fi
32+ fi 2>&1 | log check
You can’t perform that action at this time.
0 commit comments