Node picopdfs failed to run on host

8 views
Skip to first unread message

Elena Molina

unread,
Mar 6, 2014, 11:23:53 AM3/6/14
to nipy...@googlegroups.com
Hi all,

I am running the create_camino_dti_pipeline and I have the following problem with the PicoPDFsInputSpect:

traits.trait_errors.TraitError: The 'luts' trait of a PicoPDFsInputSpec instance must be a list of from 1 to 3 items which are an existing file name, but a value of <type 'str'> was specified.

Any suggestions? Thanks.

Cheers,

Elena

Chris Filo Gorgolewski

unread,
Mar 6, 2014, 11:55:03 AM3/6/14
to nipy...@googlegroups.com
You are most likely feeding wrong values to PicoPDFs's "luts"  input. As the documentation states http://nipy.sourceforge.net/nipype/interfaces/generated/nipype.interfaces.camino.dti.html#picopdfs (and the error confirms) it should be a list of existing filenames. My bet is that you are setting it to '/path/to/my/luts' instead of ['/path/to/my/luts'].

Best,
Chris


--

---
You received this message because you are subscribed to the Google Groups "NiPy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nipy-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Elena Molina

unread,
Mar 6, 2014, 12:45:36 PM3/6/14
to nipy-user
Hi Chris,

Thank you for your answer. I tried the example with  ['/path/to/my/luts'] and it works but I don´t know how can i fix it in the diffusion.py script that I am using.

from nipype.workflows.dmri.camino.diffusion import create_camino_dti_pipeline

    Workflow for applying PICo
    """

    tractography.connect([(bet, trackpico,[("mask_file","seed_file")])])
    tractography.connect([(fsl2scheme, dtlutgen,[("scheme","scheme_file")])])
    tractography.connect([(dtlutgen, picopdfs,[("dtLUT","luts")])])
    tractography.connect([(dtifit, picopdfs,[("tensor_fitted","in_file")])])
    tractography.connect([(picopdfs, trackpico,[("pdfs","in_file")])])






--

---
You received this message because you are subscribed to a topic in the Google Groups "NiPy Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nipy-user/3vS1TnJ5PoI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nipy-user+...@googlegroups.com.

Chris Filo Gorgolewski

unread,
Mar 6, 2014, 1:13:21 PM3/6/14
to nipy...@googlegroups.com
I see the problem now. I think I found a fix. Could you try if this branch:

resolves the issue for you?

Best,
Chris
Reply all
Reply to author
Forward
0 new messages