check_paths

mastml.mastml_driver.check_paths(conf_path, data_path, outdir)[source]

This method is responsible for error handling of the user-specified paths for the configuration file, data file, and output directory.

Args:

conf_path: (str), the path supplied by the user which contains the input configuration file

data_path: (str), the path supplied by the user which contains the input data file (as CSV or XLSX)

outdir: (str), the path supplied by the user which determines where the output results are saved to

Returns:

conf_path: (str), the path supplied by the user which contains the input configuration file

data_path: (str), the path supplied by the user which contains the input data file (as CSV or XLSX)

outdir: (str), the path supplied by the user which determines where the output results are saved to