Pulling 793de055f7693e461bd7bf10b0681b8fe721a80c and changing the YAML input file accordingly, that is:
# OLD CODE:
# OriginTimes:
# 'virus':
# start: 2783
# susceptibles:
# - host: 1705
InitialConditions:
origin: 2783 # note this is reverse time, cumulative
size:
host: 1705 # number of susceptible at the origin time of the simulation for Type `host`
index: 'host'
Error in private$load.initial.conds(settings) :
InitialConditions:originTime must be numeric; is this key missing?
Called from: private$load.initial.conds(settings)
I suspect that in function private$load.initial.conds the list element is not correctly named, i.e., we have params$origin instead of params$originTime. Not 100% though, so I let @ArtPoon check this.
Pulling 793de055f7693e461bd7bf10b0681b8fe721a80c and changing the YAML input file accordingly, that is:
When calling
I have this error msg:
I suspect that in function
private$load.initial.conds
the list element is not correctly named, i.e., we haveparams$origin
instead ofparams$originTime
. Not 100% though, so I let @ArtPoon check this.