Skip to content

Commit 34094e1

Browse files
committed
Fixed issues in exposure timings
1 parent 03579f7 commit 34094e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+88
-480
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
outputs/fits/*
2-
2+
vignettes/int/*
33
# Except for the simulate_data directory
44
!outputs/fits/simulated_data/
55

R/.DS_Store

-8 KB
Binary file not shown.

R/postprocess.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ plot_inf_rec <- function(model_summary, file_path) {
283283
ggsave(here::here(file_path, "infection_recov.png"), height = 10, width = 10)
284284
}
285285

286+
286287
plot_cop_rec <- function(model_summary, file_path) {
287288

288289
fitfull <- model_summary$fit

R/utils_model.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,10 @@ createSeroJumpModel <- function(
243243
sample(1:length(exp_prior_list[[i]]), 1, prob = exp_prior_list[[i]])
244244
}
245245

246-
check_exposures_times(data_sero, data_known, exposureTypes, exposureFitted, exposurePriorTime, exposurePriorTimeType)
247-
246+
if (!is.null(data_known)) {
247+
check_exposures_times(data_sero, data_known, exposureTypes, exposureFitted, exposurePriorTime, exposurePriorTimeType)
248+
}
249+
248250
data_t$exp_list <- exp_prior_list
249251
data_t$exp_prior <- exp_prior
250252

docs/404.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/cs1_sim_recovery.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 24 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/cs2_sarscov2_files/figure-html/unnamed-chunk-5-1.png renamed to docs/articles/cs2_sarscov2 copy_files/figure-html/unnamed-chunk-5-1.png

File renamed without changes.

0 commit comments

Comments
 (0)