You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mtg/initialisation.jl
-24Lines changed: 0 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -327,8 +327,6 @@ function init_simulation(mtg, mapping; nsteps=1, outputs=nothing, type_promotion
327
327
@assertfalse"Error : Mapping status at $organ_with_vector level contains a vector. If this was intentional, call the function generate_models_from_status_vectors on your mapping before calling run!. And bear in mind this is not meant for production. If this wasn't intentional, then it's likely an issue on the mapping definition, or an unusual model."
# Note: we could do that in `soft_dependencies_multiscale` but we prefer to keep the function as simple as possible, and
358
-
# usable on its own.
359
-
360
-
iscyclic &&error("Cyclic dependency detected in the graph. Cycle: \n$(print_cycle(cycle_vec))\n You can break the cycle using the `PreviousTimeStep` variable in the mapping.")
361
-
# Third step, we identify which
362
-
363
339
# Print an info if models are declared for nodes that don't exist in the MTG:
0 commit comments