check_files¶
-
check_files.check_file_exists(filename, argname)[source]¶ Checks if a file exists, and throws an error and exits if that file does not exist
Parameters: - filename (string) – Path to a file
- argname (string) – The argument that was passed to a script, for error checking purposes
Returns: filename – Path to a file
Return type: string