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

FLIRT out_file must exist. #27

Open
MarcRamos opened this issue Mar 31, 2014 · 2 comments
Open

FLIRT out_file must exist. #27

MarcRamos opened this issue Mar 31, 2014 · 2 comments

Comments

@MarcRamos
Copy link

I have run flirt command several times and I don't receive that error:

Exception: Subnodes of node: apply_registration_roivs failed:
Subnode 0 failed
Error:
The 'out_file' trait of a FLIRTOutputSpec instance must be an existing file name, but a value of u'/media/nimbus/106_TOC/MRS_020512_P/tp1/NIPYPE/diffusion_pipeline/registration_stage/apply_registration_roivs/mapflow/_apply_registration_roivs0/atlas_registered_flirt.nii.gz' <type 'unicode'> was specified.

What has happened?
Thanks!

@MarcRamos
Copy link
Author

I seem to have solved the issue installing the connectome mapper again.
I am doing custom parcellation and I saw that in some part of the diffusion code is checked if parkey in:

Open the corresponding ROI

    print("Open the corresponding ROI")
    for vol in roi_volumes:
        print 'VOLUME:',vol
        print 'PAR KEY:', parkey
        if parkey in vol:
            roi_fname = vol
            print 'FNAME:',roi_fname

That somehow troubled me so it would be better to say before hand that you hace to put the atlas name as the filename or take the name from the filename, because I was using something different.
Thanks!

@MarcRamos
Copy link
Author

The original error appeared again when I put a new subject. I close the program, start again and the error is not there!

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