register_file(self,
fname,
logfile)
|
|
Register file in CWD as a jobcontrol output file.
If the file already exists, this call will also request JC to copy it
to the launch machine imminently, which is useful for returning
intermediate results before the whole workflow ends. e.g. such output
files could be re-used in a recover/restart in case of job failure.
To stream the file, use logfile=True. But note this doesn't work well
where the change cannot simply be appended.
- Parameters:
fname (str) - file name
logfile (bool) - register as a streamed log file
|