mne-tools / mne-bids-pipeline

Automatically process entire electrophysiological datasets using MNE-Python.
https://mne.tools/mne-bids-pipeline/
BSD 3-Clause "New" or "Revised" License
138 stars 66 forks source link

Raise a more helpful error message when requested subjects are missing from the dataset #928

Closed hoechenberger closed 5 months ago

hoechenberger commented 5 months ago

Before merging …

This PR:

FileNotFoundError: The following requested subjects were not found in the dataset: 774

main:

FileNotFoundError: Root directory does not exist: "/Users/richardhochenberger/Library/CloudStorage/OneDrive-dsm-firmenich/Documents/TasIn/data/raw_bids/sub-774"