Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6859

RE: conn_updatefilepaths error

$
0
0
[color=#000000]Hi Alex,[/color]

[color=#000000]Sorry the automatic update in "conn_updatefilepaths" is meant for cases where the data is simply moved to a different folder/location, but it is not able to handle this case (where the number of datafiles changes). To fix that I would suggest simply to re-upload your functional data, either from the GUI, or using conn_batch commands. If you are familiar with Matlab, you may also find and modify the current functional files directly using something like:[/color]

[color=#000000]f = conn_module('get', 'functionals'); % loads from your current CONN project f{nbsub}{nses} containing the names of current functional files[/color]
...
... % here change "f" so that it contains the new/correct files
...
conn_module('set','functionals',f); % updates these changes to your current CONN project

[color=#000000]Best[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by Alexandra Muratore:[/i][quote]Hi Alayar,

I created a CONN project and accidentally uploaded my nii files in 3d format before realizing and changing it to the 4d file. I thought I had updated all of the paths that I could locate to direct to the correct file. However, when I start up CONN and load my project, I still get the error "conn_updatefilepaths: file /Volumes/Elements/Cross-Study_rsfMRI/data/14011/ses-001/func/run_001/vol_001.nii not found". Instead of vol_001, I select the 4d volume (.nii), but then it prompts me for vol_002, so I just click "cancel". The project ends up loading, but I'm wondering if there is a way to find where in conn it's looking for these paths so I can update it once and for all and stop getting this error?

Thanks for your help!
Alex[/quote]

Viewing all articles
Browse latest Browse all 6859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>