Closed cakloecker closed 3 years ago
loop_ecology() is currently called in line 270 in gen3sis_main.R script. As the observer is invoked before, observer output does not reflect ecology processes of this time step. https://github.com/project-gen3sis/R-package/blob/d7a65d8d4d010a5ccb48f1dd7930a35bb01ec584/R/gen3sis_main.R#L270
loop_ecology()
gen3sis_main.R
Documentation and comments in the code suggest that it should be called after the evolution step and prior to the end of loop updates in line 232. https://github.com/project-gen3sis/R-package/blob/d7a65d8d4d010a5ccb48f1dd7930a35bb01ec584/R/gen3sis_main.R#L226-L232
Thanks for this bug report, that did indeed slip in there. It does also affect the stored values for the summaries.
loop_ecology()
is currently called in line 270 ingen3sis_main.R
script. As the observer is invoked before, observer output does not reflect ecology processes of this time step. https://github.com/project-gen3sis/R-package/blob/d7a65d8d4d010a5ccb48f1dd7930a35bb01ec584/R/gen3sis_main.R#L270Documentation and comments in the code suggest that it should be called after the evolution step and prior to the end of loop updates in line 232. https://github.com/project-gen3sis/R-package/blob/d7a65d8d4d010a5ccb48f1dd7930a35bb01ec584/R/gen3sis_main.R#L226-L232