help > RE: Cannot load project
Sep 7, 2017  12:09 AM | Alfonso Nieto-Castanon - Boston University
RE: Cannot load project
Hi Jason,

My guess is that perhaps this error indicates that you may have entered multiple runs (e.g. several 4d nifti files) into a single session?

To clarify, CONN expects each "session" ("session" and "run" are used interchangeably) to contain either a single nifti 4d file, or a group of contiguous nifti 3d files. My guess is that perhaps you may have defined 2 as the number of sessions per subject, and entered four 4d nifti files for each session. The proper way to enter these data in CONN would be to define 8 as the number of sessions per subject (this is defined in Setup.Basic), and then enter the corresponding functional data in Setup.functionals (if you have one 4d nifti file per run/subject, and these are sorted in some meaningful way, you may select all subjects and sessions simultaneously and import all those files in a single step). Last, if your 8 sessions were acquired in two different days (e.g. 4 runs pre- and 4 runs post- intervention), you may enter that information in Setup.Conditions by defining two conditions (e.g. pre and post) and assigning each condition to the corresponding sessions (e.g. 'pre' condition encompassing sessions 1 to 4, and 'post' condition encompassing sessions 5 to 8). 

Let me know if that makes sense
Alfonso

Originally posted by Jason Craggs:
Greetings, 
1. I've just started using conn.
2. I'm following the video tutorials using my own data
3. My test project is 5-subjects with 2-sessions (4 runs each session)
4. I ran the preprocessing steps outlined in the first video
5. When trying to load the montage, step-1 of the second video, I get the error below
6. Specs:
MatLab R2015a (8.5.0.197613)
CONN v.17.3
SPM12
Mac OS: Sierra (10.12.6)
RAM: 24BG

Any help is greatly appreciated.

ERROR DESCRIPTION:

Error using pinv
Too many input arguments.
Error in conn (line 1588)
dispdata{end+1}=fliplr(flipud(reshape(spm_get_data(files,pinv(files.mat)*txyz),dim(1:2))'));
CONN v.17.e
SPM12 + DEM FieldMap MEEGtools
Matlab v.2015a
storage: 3332.4Gb available
spm installed in folder /Users/jcraggs/Applications/spm12
conn installed in folder /Users/jcraggs/Documents/MATLAB/conn

Threaded View

TitleAuthorDate
Jason Craggs Sep 6, 2017
RE: Cannot load project
Alfonso Nieto-Castanon Sep 7, 2017
Jason Craggs Sep 7, 2017