find_slurmfiles
- PlasmaCalcs.tools.supercomputer.find_slurmfiles(dir='.', *, exclude=[])
find all slurmfiles in this directory and all subdirectories.
slurmfiles are files which end with ‘.slurm’.- exclude: str, or list of strs
- exclude any subdirectories whose name equals one of these strings or re.fullmatch one of these strings.E.g. exclude=’*[.]io’ will exclude all subdirectories whose name ends with ‘.io’;exclude=’parallel’ will exclude all subdirectories whose name equals ‘parallel’.
returns list of abspaths to all slurmfiles found.