freesurfer icon indicating copy to clipboard operation
freesurfer copied to clipboard

Add a flag to ignore specific runs for some subjects

Open SamGuay opened this issue 8 months ago • 1 comments

Your idea

I have a couple of subjects with several runs of T1w or FLAIR and I naively thought that .bidsignore was an (okay) place to indicate which runs to ignore. Little did I know, .bidsignore is meant for the validator only and doesn't do anything (#131). Unless I missed something in the BIDS-App documentation, it appears there is no simple way to ignore certain runs. The problem atm is it creates a robust template with all the runs available for a participant and won't tell unless you skim the logs.

The rogue way is to simply delete the undesired scans but I hope there could be way to deal with this problem without deleting files.

Would a --bids-filter-file à la smriprep #104 solve this problem? I never used such in the past so I don't know.. Maybe a simple hack to ignore specific runs for some subjects only already exists ?

Am I right in thinking that the most straightforward approach to address this would likely involve passing a file that contains a list of scans to be ignored/removed when listing the T1w, T2, flair, etc.? Cheers!

SamGuay avatar Oct 31 '23 21:10 SamGuay