Closed brandomr closed 2 years ago
https://github.com/jataware/dojo-cli/blob/feature/rtk-dev-issues/dojocli/cli.py#L117-L135 this code breaks for AgMIP Seasonal Crop Emulator explicitly and Flee Model for South Sudan, 2013 to 2015 silently because their raw commands don't necessarily have the parameters.
AgMIP Seasonal Crop Emulator
Flee Model for South Sudan, 2013 to 2015
I think we should just suck the parameters out of the model metadata which will include their default values.
model
Is there some value to looking at the raw command that I might be missing?
raw command
Changed to getting params and default values from the model metadata.
https://github.com/jataware/dojo-cli/blob/feature/rtk-dev-issues/dojocli/cli.py#L117-L135 this code breaks for
AgMIP Seasonal Crop Emulator
explicitly andFlee Model for South Sudan, 2013 to 2015
silently because their raw commands don't necessarily have the parameters.I think we should just suck the parameters out of the
model
metadata which will include their default values.Is there some value to looking at the
raw command
that I might be missing?