Skip to content

Nipype1Task with inputs of type list #23

Open
@omar-rifai

Description

@omar-rifai

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions