I have a dataset where I have pre/post data before and after an intervention. I am trying to run fmriprep but am running into an issue where it is saying
You are trying to re-run an existing subject with (possibly)
new input data (-i). If this is truly new input data, you should delete
the subject folder and re-run, or specify a different subject name.
If you are just continuing an analysis of an existing subject, then
omit all -i flags."
I dont want to use the -longitudinal flag because I believe my T1s will be different at pre and post. So i want to fully run freesurfer and fmriprep separately for both timepoints.
the only solution i can come up with is creating two bids folders: one with pre intervention data and one with post intervention data. I would like to keep it all together. does anyone have a solution for this?
Your original BIDS folder should not be changed. If you want to process just one time point at a time, you can use a --bids-filter-file, have each timepoint output go to a different output folder temporarily, and then recombine them at the end when both sessions are done.
You are trying to re-run an existing subject with (possibly)
new input data (-i). If this is truly new input data, you should delete
the subject folder and re-run, or specify a different subject name.
If you are just continuing an analysis of an existing subject, then
omit all -i flags.
which is the same error i got when i wasnt using the filter file. any tips?
Are you sure you are making previous Freesurfer outputs unavailable to fmriprep? e.g., deleting previous runs, or using a different fs-subjects-dir? What is the output of the BIDS validator?
Hello@steven,
I want to do the same thing. I created the JSON file to pass to --bids-filter-file argument. But that just means I have to run fMRIprep separately for each session per subject by providing different json file names for different sessions. Can this not be automated?
Thanks, Steven. I believe I also have to add fmap and T2w in the JSON file, along with bold and t1w (as shown above)? When I did not add them to the report, I got all the sessions’ T2w anatomical output.