e_model_packager.sscx2020.utils¶
Contains the utility functions needed for the workflow.
Functions
|
Returns the combined metype and cell index. |
|
Returns the path to the outputs directory of one cell model. |
Classes
|
Allow '*' in file path when checking for existence. |
- class LocalTargetCustom(path=None, format=None, is_tmp=False)¶
Bases:
LocalTargetAllow ‘*’ in file path when checking for existence.
Initializes a FileSystemTarget instance.
- Parameters:
path – the path associated with this FileSystemTarget.
- exists()¶
Returns
Trueif the path exists;Falseotherwise.Path can have ‘*’ in it.
- combine_names(mtype, etype, gidx)¶
Returns the combined metype and cell index.
- get_output_path(mtype, etype, region, gidx, workflow_output_dir)¶
Returns the path to the outputs directory of one cell model.