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 input

  • executable (Union[str, bytes, PathLike]) – Path to SAS executable

  • extra_inputs (Optional[List[str]]) – List of extra (non-templated) input files that are needed

  • extra_template_inputs (Optional[List[Union[str, bytes, PathLike]]]) – Extra templated input files

  • show_stdout (bool) – Whether to display output from stdout when SAS is run

  • show_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