hpcflow.app.InputFileGenerator#
- class hpcflow.app.InputFileGenerator(input_file: 'app.FileSpec', inputs: 'List[app.Parameter]', script: 'str' = None, environment: 'app.Environment' = None, abortable: 'Optional[bool]' = False)#
Bases:
InputFileGenerator
Methods
Generate the file contents of this input file generator source.
Get the rule that allows testing if this input file generator must be run or not for a given element.
Attributes
- Parameters:
- app = BaseApp(name='hpcFlow', version='0.2.0a140')#
- compose_source(action)#
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_rule()#
Get the rule that allows 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)#
- write_source(action)#