Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get_output_model_name_string() (#220)
Description - *Category*: feature - *JIRA issue*: [MIC-3229](https://jira.ihme.washington.edu/browse/MIC-3229) and [MIC-3091](https://jira.ihme.washington.edu/browse/MIC-3091) Changes: - Add `get_output_model_name_string()` to be a standard way for both `psimulate run` and `simulate run` to create the same results paths. - If an artifact is provided at the CLI, use the location there, if not, check the model specification YAML for an artifact and use its location. If there is no artifact (valid use case!), use the stem of the model specification filename. Testing Ran this VCT and Vivarium against IV Iron with an artifact provided only in the YAML and only at the command and @aflaxman's WA DOH staffing repo, which does not have an artifact and motivated one of these JIRA tickets. In each case, the correct artifact (if any) and results path location were as expected (`"south_asia"` in the former case and `"staffing"` in the latter, from `staffing.yaml`
- Loading branch information