watts.PluginSAS#
- class watts.PluginSAS(template_file, executable='sas.x', extra_inputs=None, extra_template_inputs=None, show_stdout=False, show_stderr=False)[source]#
Plugin for running SAS
- Parameters:
template_file (
str
) – Templated SAS inputexecutable (
Union
[str
,bytes
,PathLike
]) – Path to SAS executableextra_inputs (
Optional
[List
[str
]]) – List of extra (non-templated) input files that are neededextra_template_inputs (
Optional
[List
[Union
[str
,bytes
,PathLike
]]]) – Extra templated input filesshow_stdout (
bool
) – Whether to display output from stdout when SAS is runshow_stderr (
bool
) – Whether to display output from stderr when SAS is run
- executable#
Path to SAS executable
- execute_command#
List of command-line arguments used to call the executable
- conv_channel#
Path to CHANNELtoCSV utility executable
- conv_primar4#
Path to PRIMAR4toCSV utility executable
Methods
postrun
(params, exec_info)Read SAS results and create results object