jataware / dojo-cli

A command-line interface to for black box model execution.
MIT License
0 stars 0 forks source link

Can't use raw command for getting params #2

Closed brandomr closed 2 years ago

brandomr commented 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.

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?

GoogleSheets commented 2 years ago

Changed to getting params and default values from the model metadata.