Closed davidanthoff closed 1 year ago
Patch coverage has no change and project coverage change: -0.28
:warning:
Comparison is base (
91a71f1
) 85.12% compared to head (4bdae7a
) 84.85%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I only tried this after running the model, maybe at that point the dims are there? But if we can get this to work without running, even better.
Interesting, at first I was doing
m = get_model
Mimi.build!(m)
to get a built model but not run it because the migration model is just so slow, but I also tried it with a run MimiGIVE
and got the same error? Did yours work for a run model?
Usage is:
and that will call
code_warntype
on therun_timestep
method for that component.In theory one can also use this with https://github.com/JuliaDebug/Cthulhu.jl by doing
but in practice that doesn't seem to work together with our way of generating these
run_timestep
methods from our macro.I would suggest we don't document this for now and don't consider it part of the "public" API, until we have figured out whether this is actually working well or not. We might also try to get this to work with Cthulhu properly.