You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The bids_helper catches an error when the dataset doesn't contain a method file. Even if this is the right behaviour, the script shouldn't break there if I want to convert many datasets to bids at the same time. It should rather neglect the scan without the method file and continue running for the rest.
The exact error catches where the method of the scan needs to be read out.
In brkraw.py line 319-320: if not is_localizer(dset, scan_id, reco_id): method = dset.get_method(scan_id).parameters['Method']
To Reproduce
Steps to reproduce the behavior:
Run the bids_helper on a to nifti converted dataset which doesn't have a method file.
Expected behavior
The scan without the method file should be neglected and the script should continue running.
The text was updated successfully, but these errors were encountered:
Thank you for your input. We're aware of this issue, along with other BIDS helper crashes linked to unexpected scenarios in single scan data. Rest assured, these will be addressed in the next update. Until then, the simplest workaround is to delete the folder causing the problem from the dataset.
Describe the bug
The bids_helper catches an error when the dataset doesn't contain a method file. Even if this is the right behaviour, the script shouldn't break there if I want to convert many datasets to bids at the same time. It should rather neglect the scan without the method file and continue running for the rest.
The exact error catches where the method of the scan needs to be read out.
In brkraw.py line 319-320:
if not is_localizer(dset, scan_id, reco_id): method = dset.get_method(scan_id).parameters['Method']
To Reproduce
Steps to reproduce the behavior:
Run the bids_helper on a to nifti converted dataset which doesn't have a method file.
Expected behavior
The scan without the method file should be neglected and the script should continue running.
The text was updated successfully, but these errors were encountered: