diff --git a/src/crop/cropmodels.jl b/src/crop/cropmodels.jl index daabf5ff3503d8da3a0863cc4d9c8f743a7f5c55..153eb3981718d2b6faf0debd49fe4ca59d425ffe 100644 --- a/src/crop/cropmodels.jl +++ b/src/crop/cropmodels.jl @@ -6,7 +6,7 @@ using StatsBase: mode """ - initfields!(cropmodel, cropfile, growthfile) + initcropmodel(cropmodel, cropdirectory) Initialise the crop model. Returns the crop types available in the simulation, as well as the types `Tcroptype` and `Tcropstate`.