Open dalonsoa opened 7 months ago
@dalonsoa Where are we on this meta issue? I think it's all done apart from the get_model_sequence
replacement?
Yes, that's all that is left, aside from using the variables, but that's more for each individual model to adopt.
I'll see if I can tackle the get_model_sequence
before the end of this week.
Step 1 (one PR)
Config
class after the required models have been pulled out of the configuration to populate theinitialised_by
,updated_by
, andused_by
lists. The models might need updating.Step 2 (another PR, after the above is merged)
get_model_sequence
function to use this information, as well as (or in place of?) the explicit dependencies already in place, to try to come up with the right sequence.Step 3 (yet another PR)
I'm sure I'm missing something and I will need to improvise, but is there anything obvious I'm forgetting?
_Originally posted by @dalonsoa in https://github.com/ImperialCollegeLondon/virtual_rainforest/issues/371#issuecomment-1934300630_