in3Utils.fileHandlerUtils.checkResultFolderFilesExist
- checkResultFolderFilesExist(path, outputnames='')[source]
check whether a (result) directory exists whether it contains files whose names include the given output names.
- Parameters
path (pathlib.Path or str) – Path to the directory to search in
outputnames (list) – names of variables that are checked to appear within the file names
- Returns
folderExist (bool) – True if the directory exists
filesExist (bool) – True if the directory exists and contains files matching all output names, False otherwise.