help > fmriprep import error
Showing 1-6 of 6 posts
Display:
Results per page:
May 13, 2023  12:05 AM | pkumar - McLean Hospital
fmriprep import error
Hi
I am trying to import an fmriprep dataset into CONN. While this has worked without any issues in the past, I am not getting this error below. Any help is appreciated! Thanks very much

ERROR DESCRIPTION:

Operands to the || and && operators must be convertible to logical scalar values.
Error in uigetputfile_helper/getFilterFileAndPath (line 293)
elseif ((~contains(file, '*')) && (~contains(ext, '*')) && ...
Error in uigetputfile_helper/parseArguments (line 157)
[dialog_filter, dialog_filename, dialog_pathname] = getFilterFileAndPath(dialog_filter);
Error in uigetputfile_helper (line 27)
[dialog_filter, dialog_title, dialog_filename, dialog_pathname, dialog_multiselect] = parseArguments();
Error in uiputfile (line 114)
[filename, pathname, filterindex] = uigetputfile_helper(1, varargin{:});
Error in conn (line 5295)
[filename,pathname]=uiputfile('conn_*.mat',strmsg,filename); saveas=true;
Error in conn (line 5553)
if conn('gui_setup_save','Enter new CONN project filename:'),
Error in conn_menumanager (line 124)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN22.a
SPM12 + DEM FieldMap MEEGtools art rfxplot
Matlab v.2019b
project: CONN22.a
spm @ C:\Softwares\spm12\spm12
conn @ C:\Softwares\spm12\spm12\toolbox\conn22a\conn
May 17, 2023  10:05 PM | Alfonso Nieto-Castanon - Boston University
RE: fmriprep import error
Hi,

Not sure about this one, if you could please:

1) type in Matlab:
dbstop in conn.m at 5295

2) then re-run the procedure, and when Matlab stops and shows a sign "K>>" in the Matlab command window then type:
save temporalfile.mat
dbcont

and 3) send me the resulting temporalfile.mat file to help me debug this.

Best 
Alfonso
Originally posted by pkumar:
Hi
I am trying to import an fmriprep dataset into CONN. While this has worked without any issues in the past, I am not getting this error below. Any help is appreciated! Thanks very much

ERROR DESCRIPTION:

Operands to the || and && operators must be convertible to logical scalar values.
Error in uigetputfile_helper/getFilterFileAndPath (line 293)
elseif ((~contains(file, '*')) && (~contains(ext, '*')) && ...
Error in uigetputfile_helper/parseArguments (line 157)
[dialog_filter, dialog_filename, dialog_pathname] = getFilterFileAndPath(dialog_filter);
Error in uigetputfile_helper (line 27)
[dialog_filter, dialog_title, dialog_filename, dialog_pathname, dialog_multiselect] = parseArguments();
Error in uiputfile (line 114)
[filename, pathname, filterindex] = uigetputfile_helper(1, varargin{:});
Error in conn (line 5295)
[filename,pathname]=uiputfile('conn_*.mat',strmsg,filename); saveas=true;
Error in conn (line 5553)
if conn('gui_setup_save','Enter new CONN project filename:'),
Error in conn_menumanager (line 124)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN22.a
SPM12 + DEM FieldMap MEEGtools art rfxplot
Matlab v.2019b
project: CONN22.a
spm @ C:\Softwares\spm12\spm12
conn @ C:\Softwares\spm12\spm12\toolbox\conn22a\conn
May 20, 2023  04:05 AM | pkumar - McLean Hospital
RE: fmriprep import error
Thanks for your email. 

Here is the temporalfile.mat
Attachment: temporalfile.mat
Jun 23, 2023  02:06 AM | pkumar - McLean Hospital
RE: fmriprep import error

Hi Alfonso


Do you have any updates on the below please?


Thanks


Poornima


 


Originally posted by pkumar:


Thanks for your email.  Here is the temporalfile.mat

 

Jul 5, 2023  11:07 PM | Alfonso Nieto-Castanon - Boston University
RE: fmriprep import error

Hi Poornima,


Sorry I don't see anything problematic in the temporalfile.mat file and the call to Matlab's uiputfile function with the same input arguments seems to work perfectly fine when I test it. Could you please type in your Matlab command-line the following:


[a,b]=uiputfile('conn_*.mat','Enter a new CONN project filename:','conn_project01.mat');


and seeing whether that works fine and/or produces the same error message?


Thanks


Alfonso


Originally posted by pkumar:



Hi Alfonso


Do you have any updates on the below please?


Thanks


Poornima


 


Originally posted by pkumar:


Thanks for your email.  Here is the temporalfile.mat

 



 

Aug 7, 2024  04:08 PM | Louis Vidal
RE: fmriprep import error

Hi everyone,


 


I got the same error as Poormina, and trying the command that Alfonso asked for gave me the same error.


We apparently solved it (thank you Isabelle Faillenot) by properly removing previous versions of CONN and SPM from the PATH.


Here is the script we call to launch the CONN Toolbox now:


"


rmpath(genpath('/soft/conn17'));
rmpath(genpath('/soft/conn18'));
rmpath(genpath('/soft/conn20'));
rmpath(genpath('/soft/spm8'));
rmpath(genpath('/soft/conn21'));
rmpath(genpath('/soft/conn22a'));


addpath('/soft/');
addpath('/soft/spm12');
addpath('/soft/conn22v2407/conn');
rmpath(genpath('/soft/spm12/toolbox/conn'));


disp ('telechargement CONN22 : août 24  ');
disp ('                                   ');
disp ('script pour le CRNL par Isabelle Faillenot');


conn


"


 


Hopefully it would be useful to anyone getting the same error.


Regards,


Louis