help > Issue with Creation of Voxel-Displacement Map (VDM) for Susceptibility Distortion Correction (version 19.b)
Showing 1-2 of 2 posts
Display:
Results per page:
Oct 28, 2020  09:10 PM | Tsvetoslav Ivanov
Issue with Creation of Voxel-Displacement Map (VDM) for Susceptibility Distortion Correction (version 19.b)
Dear all,

We are analyzing task-related fMRI data (6 runs per each of 8 participant) and already have SPM.mat files so we have imported them in CONN.

Based on the instructions here: https://www.nitrc.org/forum/message.php?msg_id=26278, we imported magnitude and phase fieldmaps for each participant in a secondary dataset (however, a notable idiosyncracy is that we only had two fieldmaps per participant not for each run, so the fieldmaps were imported in the 1st run specificlly because CONN did not allow us to import them for the participant in general as in the GUI at least one session/run is always selected. I am not sure whether this has any relevance for the issue we are having).

However, when attempting to implement the default preprocessing pipeline, the following error appears (including all prior messages):

CONN: RUNNING SETUP.PREPROCESSING STEP
Preparing functional Label current functional files as part of list of Secondary Datasets ("original data" label). Please wait...
Performing functional Label current functional files as part of list of Secondary Datasets ("original data" label). Please wait...
Done functional Label current functional files as part of list of Secondary Datasets ("original data" label)
Importing results to CONN project. Please wait...
saved E:\projects\tsvet\conn_project06.0001201028002337538.dmat
Preparing functional Creation of voxel-displacement map (VDM) for Susceptibility Distortion Correction. Please wait...
E:\projects\tsvet\conn_project06.qlog\201028002337538\node.0001201028002337538.bat error
ERROR DESCRIPTION:

Scalar structure required for this assignment.
Error in FieldMap (line 1476)
V.dt(1)=4;
Error in conn_setup_preproc (line 2773)
scphase=FieldMap('Scale',fmap{1});
Error in conn_process (line 27)
case 'setup_preprocessing', conn_disp(['CONN: RUNNING SETUP.PREPROCESSING STEP']); conn_setup_preproc(varargin{:});
Error in conn_jobmanager (line 798)
conn_process(job(n).fcn,job(n).args{2:end});

We have searched online for what the possible issue might be but have been unable to find out and thus cannot solve the issue.

Could somebody clarify the issue and offer a possible solution?

Also, and this is not directly relevent, is there a way remove data that has been loaded in the structural and/or functional tabs? This should be straightforward but we have been unable to find an option in the GUI to do it. We can import data for a given participant and/or run and this would replace any that has been imported before, but not remove previous data so that for a given participant and/or run there is no data loaded.

Thanks,
Tsvet
Jan 15, 2022  08:01 PM | Jeff Browndyke
RE: Issue with Creation of Voxel-Displacement Map (VDM) for Susceptibility Distortion Correction (version 19.b)
I'm receiving the same error.  Tsvet, I'm curious.  Do you have more than two TEs for your magnitude and phase maps? 

Preparing functional Creation of voxel-displacement map (VDM) for Susceptibility Distortion Correction
Please wait...
ERROR DESCRIPTION:

Scalar structure required for this assignment.
Error in FieldMap (line 1476)
V.dt(1)=4;
Error in conn_setup_preproc (line 2786)
scphase=FieldMap('Scale',fmap{1});
Error in conn (line 1143)
ok=conn_setup_preproc('',varargin{2:end});
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});