-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add error messages for checking multi-host data inputs * add checks for multihost data inputs * switch from infected and host file to file_list to capture that multiple hosts are being used as inputs. * replace mortality_on, time_lag, and rate with pest_host_table which contains these plus susceptibility. * update docs * update mortality on for pops_model. * add competecy-table parameter. * update docs * accept multi host in pops_model_cpp * fix typo * fix typo2 * add pest host table verification and setup for input into cpp * add pest host table examples for tests * add competency tables for tests. * add checks for competency table * update configuration to create competency table * update pops_model.R to use multihost * draw competency table for each model run in functions * add checks for values in pest_host_table and competency_table * edit multihost checks * remove unused variables * fix typos and lint errors * update config and helpers to correctly create host pools * fix helpers function * make expose_file exposed_file_list * update mortality_on * update checks, config, and helpers to fix input to cpp issues. * use create host pool function in cal, val, pops, and pops_multi * update testthat for pops * Store the casted matrix inputs in std::vector to preserve them * Remove extra reserve * Read pest-host table from parameters * add non-mortality version of pesthost table * update tests to include new tables * Use the existing matrices used in HostPool for cloning instead of getting them from inputs * add more test data for mortality tests * fix exposed issue * update tests * fix mortality export in pops.cpp * update validation to loop through and combine and compare infections for all hosts to infected locations. * update validation tests * update validate and tests * update calibrate and tests * update popsmultirun to handle multihost api from pops core * update tests for for pops multirun * lint * fix notes in multirun * add parameters to config tests * fix mask error in calibrate * modify order in validate stats * add check to ensure that all host populations are less than total populations in all cells * add error messages * update if to while * add data for tests * update tests * add returns for config errors * add data for 2 host * Store references to matrices only after the objects have fixed addresses (i.e., vector size is stable) * lint * lint * update data * fix config test error * add uncertainty test data * add tests for multihost * add set.seed * update multihost tests * export output host pools from all runs * fix cal error --------- Co-authored-by: Anna Petrasova <kratochanna@gmail.com> Co-authored-by: Vaclav Petras <wenzeslaus@gmail.com>
- Loading branch information
1 parent
ac1383a
commit b70235a
Showing
48 changed files
with
3,261 additions
and
2,186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.