Closed jstout211 closed 2 years ago
The make_meg_bids code will crash if there are extraneous folders in the dataset.
This occurs because there is a fname.split('_') to get the task ID - but there is no underscore in the name.
Fixed in b2d77551ed3589d80d21092f844c25b3737bb564
Previously the code only printed the message to the log file, but never dropped the non .ds datasets from the list.
The make_meg_bids code will crash if there are extraneous folders in the dataset.
This occurs because there is a fname.split('_') to get the task ID - but there is no underscore in the name.