Scan the current directory, optionally recursively to build a list of filenames.
- Keyword Arguments
recursive (bool) – Do a walk through all the directories for files
flatten (bool) – After scanning the directory tree, flaten all the subgroupos to make a flat file list. (this is the previous behaviour of
A copy of the current DataFoder directory with the files stored in the files attribute
getlist() scans a directory tree finding files that match the pattern. By default it will recurse through the entire directory tree finding sub directories and creating groups in the data folder for each sub directory.