Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not running per subject -- skipping sessions without anat files #19

Open
keithcdodd opened this issue Feb 22, 2022 · 3 comments
Open

Not running per subject -- skipping sessions without anat files #19

keithcdodd opened this issue Feb 22, 2022 · 3 comments

Comments

@keithcdodd
Copy link

keithcdodd commented Feb 22, 2022

Hello,

Let's say I have a subject with 4 sessions. They get anatomicals on sessions 1 and 3. Functional scans are done on all four sessions.

On Docker I can run fmriprep per participant and it handles all sessions and all tasks.

On fmriprep on brainlife through pipeline it appears I have to specify only one functional task at a time. Even when I do that and it runs, it does not appear to process any functional tasks in sessions that do not include an anat file. So functional tasks in sessions 2 and 4 are ignored completely.

Is there a way I can just have it run per subject and handle all sessions all tasks? Or at least be able to get the functional tasks in sessions 2 and 4 to work? Or is best case scenario to copy over the anat files into sessions 2 and 4?

Thanks!

@soichih
Copy link

soichih commented Feb 22, 2022

Hi @keithcdodd !

You can do this in various ways.. but for session 2 and session 4, you will need to setup a separate pipeline rule to handle them. For example, for session 2, you can setup to force it to use the anat data from session 1

image

Similar for session 4 which should use anat from session 3?

Please let me know if this approach works for you.

@keithcdodd
Copy link
Author

Perfect, I will try that now. Thank you!

@keithcdodd
Copy link
Author

Hmm, sadly that didn't seem to do anything. It did not submit new tasks from that and instead acts as if all those processes were already done from before, or it is waiting on more data. I wonder if it doesn't know how to match them up properly? The number of files do not align. Some subjects did not get the functional scans.

What can I do?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants