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

Nipype1Task with inputs of type list #23

Open
omar-rifai opened this issue Sep 8, 2022 · 0 comments
Open

Nipype1Task with inputs of type list #23

omar-rifai opened this issue Sep 8, 2022 · 0 comments

Comments

@omar-rifai
Copy link
Contributor

omar-rifai commented Sep 8, 2022

When working with an interface which requires a list as input (e.g the image_files input for spm.Dartel()), Nipype1Task will pass individual items of the list to the input instead of the entire list which causes the code to crash.

A workaround is to provide a list of list as input but I was wondering if this could be handled directly in the Nipye1Task _run_task code. The issue arises on l.72:

node.inputs.trait_set(**inputs)

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

1 participant