help
help > RE: Attempt to execute SCRIPT conn_surf_gii2nii as a function
Jun 11, 2021 10:06 PM | Alfonso Nieto-Castanon - Boston University
RE: Attempt to execute SCRIPT conn_surf_gii2nii as a function
Hi Walker,
Sorry about that, this was actually a bug in 20b conn_surf_gii2nii function, please use the attached patch (this patch is for version 20b, to install it simply copy this file to your conn distribution folder overwriting the file with the same name there)
Best
Alfonso
Originally posted by Walker Pedersen:
Sorry about that, this was actually a bug in 20b conn_surf_gii2nii function, please use the attached patch (this patch is for version 20b, to install it simply copy this file to your conn distribution folder overwriting the file with the same name there)
Best
Alfonso
Originally posted by Walker Pedersen:
I am trying to convert some gifti files from
fmriprep to nifti. When I run the command:
conn_surf_gii2nii('/path/to/file/lh.file.gii')
or the command:
conn_surf_gii2nii('/path/to/file/lh.file.gii','/path/to/file/rh.file.gii','/path/to/file/output.nii')
I get the error:
Attempt to execute SCRIPT conn_surf_gii2nii as a function:
/path/to/conn/conn20b/conn/conn_surf_gii2nii.m
I am new to conn and matlab, so I initially though it may be a general problem with my setup, but I was able to run:
conn_gz2nii('/path/to/file/file.nii.gz')
After some googling I ran the command:
which -all 'conn_surf_gii2nii'
and got the output:
/path/to/conn/conn20b/conn/conn_surf_gii2nii.m
so I don't seem to have any extra files with the same name messing things up.
How do I get conn_surf_gii2nii to run?
Thanks!
conn_surf_gii2nii('/path/to/file/lh.file.gii')
or the command:
conn_surf_gii2nii('/path/to/file/lh.file.gii','/path/to/file/rh.file.gii','/path/to/file/output.nii')
I get the error:
Attempt to execute SCRIPT conn_surf_gii2nii as a function:
/path/to/conn/conn20b/conn/conn_surf_gii2nii.m
I am new to conn and matlab, so I initially though it may be a general problem with my setup, but I was able to run:
conn_gz2nii('/path/to/file/file.nii.gz')
After some googling I ran the command:
which -all 'conn_surf_gii2nii'
and got the output:
/path/to/conn/conn20b/conn/conn_surf_gii2nii.m
so I don't seem to have any extra files with the same name messing things up.
How do I get conn_surf_gii2nii to run?
Thanks!
Threaded View
Title | Author | Date |
---|---|---|
Walker Pedersen | Jun 11, 2021 | |
Walker Pedersen | Jun 15, 2021 | |
Alfonso Nieto-Castanon | Jun 11, 2021 | |