matflow.InputFileGenerator#
- class matflow.InputFileGenerator(input_file: 'app.FileSpec', inputs: 'List[app.Parameter]', script: 'str' = None, environment: 'app.Environment' = None, script_pass_env_spec: 'Optional[bool]' = False, abortable: 'Optional[bool]' = False, rules: 'Optional[List[app.ActionRule]]' = None)#
Bases:
InputFileGenerator
Methods
Generate the file contents of this input file generator source.
Get the rules that allow testing if this input file generator must be run or not for a given element.
Attributes
- Parameters:
input_file (FileSpec) –
script (str) –
environment (Environment) –
script_pass_env_spec (bool | None) –
abortable (bool | None) –
rules (List[ActionRule] | None) –
- app = App(name='MatFlow', version='0.3.0a129')#
- compose_source(snip_path)#
Generate the file contents of this input file generator source.
- Return type:
- environment: app.Environment = None#
- classmethod from_json_like(json_like, shared_data=None)#
- Parameters:
json_like (Union[Dict, List]) –
shared_data (Optional[Dict[str, ObjectList]]) –
- get_action_rules()#
Get the rules that allow testing if this input file generator must be run or not for a given element.
- input_file: app.FileSpec#
- inputs: List[app.Parameter]#
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#