matflow.RunDirAppFiles#
- class matflow.RunDirAppFiles#
Bases:
RunDirAppFiles
A class to encapsulate the naming/recognition of app-created files within run directories.
Methods
File name for the app log file.
Get the prefix to a file in the run directory that the app will dump parameter data to.
Get the prefix to a file in the run directory that the app will load parameter data from.
File name for stdout and stderr streams from the app.
Take a JSONLikeDirSnapShot, and process to ignore files created by the app.
Attributes
- CMD_FILES_RE_PATTERN = 'js_\\d+_act_\\d+\\.?\\w*'#
- app = App(name='MatFlow', version='0.3.0a129')#
- classmethod get_commands_file_name(js_idx, js_action_idx, shell)#
- classmethod get_log_file_name()#
File name for the app log file.
- classmethod get_run_param_dump_file_prefix(js_idx, js_action_idx)#
Get the prefix to a file in the run directory that the app will dump parameter data to.
- classmethod get_run_param_load_file_prefix(js_idx, js_action_idx)#
Get the prefix to a file in the run directory that the app will load parameter data from.
- classmethod get_std_file_name()#
File name for stdout and stderr streams from the app.
- classmethod take_snapshot()#
Take a JSONLikeDirSnapShot, and process to ignore files created by the app.
This includes command files that are invoked by jobscripts, the app log file, and the app standard out/error file.