matflow.OutputFileParser#
- class matflow.OutputFileParser(output_files, output=None, script=None, environment=None, inputs=None, outputs=None, options=None, script_pass_env_spec=False, abortable=False, save_files=True, clean_up=None, rules=None)#
Bases:
OutputFileParser
- Parameters:
output (matflow.Parameter | None) – The singular output parsed by this parser. Not to be confused with outputs (plural).
outputs (List[str]) – Optional multiple outputs from the upstream actions of the schema that are required to parametrise this parser.
script (str) –
environment (Environment) –
options (Dict) –
script_pass_env_spec (bool | None) –
abortable (bool | None) –
rules (List[ActionRule] | None) –
Methods
Generate the file contents of this output file parser source.
Get the rules that allow testing if this output file parser must be run or not for a given element.
Attributes
- app = App(name='MatFlow', version='0.3.0a129')#
- compose_source(snip_path)#
Generate the file contents of this output file parser source.
- Return type:
- environment: Environment = None#
- classmethod from_json_like(json_like, shared_data=None)#
- get_action_rules()#
Get the rules that allow testing if this output file parser must be run or not for a given element.
- options: Dict = None#
- output_files: List[app.FileSpec]#
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#