Configure Inputs¶
Configure inputs for a Cascade-AT model.
Inputs Script¶
-
cascade_at.executor.configure_inputs.
configure_inputs
(model_version_id, make, configure, test_dir=None, json_file=None)[source]¶ Grabs the inputs for a specific model version ID, sets up the folder structure, and pickles the inputs object plus writes the settings json for use later on. Also uploads CSMR to the database attached to the model version, if applicable.
Optionally use a json file for settings instead of a model version ID’s json file.
- Parameters
model_version_id (
int
) – The model version ID to configure inputs formake (
bool
) – Whether or not to make the directory structure for the model version IDconfigure (
bool
) – Configure the application for the IHME cluster, otherwise will use the test_dir for the directory tree instead.test_dir (
Optional
[str
]) – A test directory to use rather than the directory specified by the model version context in the IHME file system.json_file (
Optional
[str
]) – An optional filepath pointing to a different json than is attached to the model_version_id. Will use this instead for settings.
- Return type
None