-
Notifications
You must be signed in to change notification settings - Fork 17
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
Workflow for two-level GLM (nilearn tutorial) #33
Comments
some comments to the notebook (before I forget):
|
Thank you Dorota! Yes, you're right. I just checked
So Re |
To use load confounds correctly, the easiest way is to keep the fmriprep output untouched. |
Hi haoting, the confound file problem solved. I downloaded them through datalad before I use |
I see! Glad that's solved! |
I'm still debugging it, but I think there is something wrong with calculating the hash value of inputs when pandas.DF is involved... |
Just some notes:
Thursday (08/25/22)
|
@yibeichan - regarding the checksum - it is possible that the node can have a different checksum if the input is not retrieved yet. Once the full input is set the checksum should not change. |
more notes:
My guess is that something is wrong with the connections/edges in the workflow/graph that
So my hypothesis is that the usage of to Dorota: |
Hello, I'm working on doing a two-level GLM nilearn tutorial for Pydra. But I've been having problems with a node in the workflow for more than two weeks (@djarecka, @htwangtw, and I have discussed it over past weeks). We've tried a couple ways to debug but haven't solved the problem yet. Here is a summary about what's happening:
In this two-level GLM tutorial, the analytical logic is:
I write the whole workflow using nilearn and make sure the code itself is error-free. Each pydra task function can run successful as a standalone task. When I connect tasks into workflow, errors come up.
secondlevel_estimation
see here cell 18.2.1 The input of
secondlevel_estimation
is a list of firstlevel model, the outputs are (a) secondlevel mask from SecondLevelModel() and (b) secondlevel stats estimations2.2 If run
secondlevel_estimation
as a task (outside of workflow), it printsresults
fine.2.3 If run
secondlevel_estimation
as a node in the workflow, it runs and can print out outcomes at every step, but it CANNOTreturn
results. Here (last line) is the error'NoneType' object has no attribute 'errored'
2.4 Since
secondlevel_estimation
can't return results, it has problems linking to the next node, so we will get error asgraph is not empty, but not able to get more tasks - something is wrong (e.g. with the filesystem)
see the last cell output hereNow the question is why this
secondlevel_estimation
node can't return results even if the output at each of its step can be print out.The text was updated successfully, but these errors were encountered: