pytuflow.TRFC.preview#
- TRFC.preview(buf=None)#
Preview the control file in
stdout
. This method is useful for debugging and checking the control file content without writing it to disk.- Parameters:
buf (TextIO, optional) – If provided, the control file will be written to this TextIO object instead of
stdout
. If not provided, the control file will be printed tostdout
.
Examples
1! Control File 2Solution Scheme == HPC 3Hardware == GPU 4SGS == On
The following code loads and then previews the content of the control file:
>>> cf = ... # assume this is the loaded control file object >>> cf.preview() ! Control File Solution Scheme == HPC Hardware == GPU SGS == On