Glob pattern to read in a specific string in Python
I have a folder with a list of files I want to read in as a list of full file paths. The files that I want to read in have this structure: [0-9]_beta_[Y].nii.gz, where: [0-9] is a 3 digit sequence of numbers (e.g. 123) [Y] is a character string of any length (e.g. ‘faces’, ‘faces_up’)… Read More Glob pattern to read in a specific string in Python