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
In the test file test_dimensions.jl, we set the first/last period of a component to 2005 and 2105. We then call set_dimension!(m, :time, 2010:2050) and test that the component's first/last have been updated.
This strikes me as incorrect behavior. If the component can run outside the range the model is being run for, I don't think we should change the component, though this raises questions about component initialization if it's started after it's indicated first period.
Bottom line is that I'm not sure what the correct behavior here should be. Both updating it and not updating it can result in confusion and violation of the principle of least astonishment.