help > gPPI error: script misses VOI2 file where it is not necessary
Showing 1-9 of 9 posts
Aug 24, 2021 03:08 PM | paulaberlin
gPPI error: script misses VOI2 file where it is not necessary
Dear all,
I encountered this error while running gPPI using the wrapper script (originally by Bob Spunt).
I do not know why I get the error that there is no VOI2 file when it should not be necessary for the type of analysis (NOT physiophysiological interaction) I want to do.
I would appreciate any tips.
Thank you,
Paula
This is the error message:
ERROR 1: Program will exit. VOI2 file does not exist.
ERROR 2: Program will exit. VOI2 file does not a .img, .nii, or .mat file.
One or more inputs are not correct.
ERROR 1:Program will exit. VOI2 file does not exist.
ERROR 2:Program will exit. VOI2 file does not a .img, .nii, or .mat file.
errorvals saved to errorvals.mat
I encountered this error while running gPPI using the wrapper script (originally by Bob Spunt).
I do not know why I get the error that there is no VOI2 file when it should not be necessary for the type of analysis (NOT physiophysiological interaction) I want to do.
I would appreciate any tips.
Thank you,
Paula
This is the error message:
ERROR 1: Program will exit. VOI2 file does not exist.
ERROR 2: Program will exit. VOI2 file does not a .img, .nii, or .mat file.
One or more inputs are not correct.
ERROR 1:Program will exit. VOI2 file does not exist.
ERROR 2:Program will exit. VOI2 file does not a .img, .nii, or .mat file.
errorvals saved to errorvals.mat
Aug 24, 2021 04:08 PM | Donald McLaren
RE: gPPI error: script misses VOI2 file where it is not necessary
Hi,
What is your inputs to the script, including all of the parameters.
Thanks,
Donald
What is your inputs to the script, including all of the parameters.
Thanks,
Donald
Aug 24, 2021 09:08 PM | paulaberlin
RE: gPPI error: script misses VOI2 file where it is not necessary
Hi,
you can find my inputs in this script from line 102 onwards.
Best,
Paula
you can find my inputs in this script from line 102 onwards.
Best,
Paula
Aug 27, 2021 01:08 AM | Donald McLaren
RE: gPPI error: script misses VOI2 file where it is not necessary
Hi Paula,
This is a mystery. I can't see how VOI2 gets generated.
Can you try changing the following lines:
P.VOI.VOI = [maskpath filesep voiNAMES{jj}];
P.VOI.masks = masks;
P.VOI.thresh = threshold;
P.VOI.min = VOImin;
to
P.VOI = [maskpath filesep voiNAMES{jj}];
#P.VOI.masks = masks;
#P.VOI.thresh = threshold;
#P.VOI.min = VOImin;
and see if it runs. This changes the P.VOI from a structure to a file and calls different sections of code. This might help narrow down the issue.
Thanks,
Donald
This is a mystery. I can't see how VOI2 gets generated.
Can you try changing the following lines:
P.VOI.VOI = [maskpath filesep voiNAMES{jj}];
P.VOI.masks = masks;
P.VOI.thresh = threshold;
P.VOI.min = VOImin;
to
P.VOI = [maskpath filesep voiNAMES{jj}];
#P.VOI.masks = masks;
#P.VOI.thresh = threshold;
#P.VOI.min = VOImin;
and see if it runs. This changes the P.VOI from a structure to a file and calls different sections of code. This might help narrow down the issue.
Thanks,
Donald
Aug 27, 2021 01:08 AM | danielhoffmann - Technical University Munich
RE: gPPI error: script misses VOI2 file where it is not necessary
Dear Donald,
I am having the same problem as Paula - although in 'psy' mode, the script calls out missing VOI2.
I tried changing VOI2 to [] or {}, but this doesnt help.
My default input is:
subject: []
VOI: []
Region: []
SPMver: 'SPM12'
directory: []
Estimate: 1
contrast: 0
extract: 'eig'
Tasks: {'1' 'CS1' 'CS2' 'CS3'}
Weights: []
maskdir: []
equalroi: 1
FLmask: 0
analysis: 'psy'
method: 'cond'
CompContrasts: 0
Contrasts: []
VOI2: []
Contrast: 0
After filling out subject-wise info with a loop, the script returns the VOI2 error and has also changed the input to (exemplified with 1 subject)
The variables Tasks, CompContrasts, Contrasts, VOI2 have been changed?! (and some additional ones added).
subject: '01_CC_16_Se_PrCoPa'
directory: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/1st_Level/Analysis_1_Prepro_2_NOMASK_Cov_Arousal/Output_SDEC_12sec_add_combined_00_11 Kopie/01_CC_16_Se_PrCoPa'
VOI: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/ROI_Masks_ElReg/ROI_differential_clusters_masks/resliced_to_fmri_dims/rAmy_Juelich_combined_CMLBSF.nii'
Region: 'Amy'
Estimate: 1
contrast: 0
extract: 'eig'
Tasks: {}
Weights: []
maskdir: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/1st_Level/Analysis_1_Prepro_2_NOMASK_Cov_Arousal/Output_SDEC_12sec_add_combined_00_11 Kopie/01_CC_16_Se_PrCoPa'
equalroi: 1
FLmask: 0
VOI2: {}
analysis: 'psy'
method: 'cond'
CompContrasts: 1
Weighted: 0
Contrasts: [1×1 struct]
ConcatR: 0
FSFAST: 0
preservevarcorr: 0
wb: 0
zipfiles: 0
rWLS: 0
Thank you so much,
Daniel
I am having the same problem as Paula - although in 'psy' mode, the script calls out missing VOI2.
I tried changing VOI2 to [] or {}, but this doesnt help.
My default input is:
subject: []
VOI: []
Region: []
SPMver: 'SPM12'
directory: []
Estimate: 1
contrast: 0
extract: 'eig'
Tasks: {'1' 'CS1' 'CS2' 'CS3'}
Weights: []
maskdir: []
equalroi: 1
FLmask: 0
analysis: 'psy'
method: 'cond'
CompContrasts: 0
Contrasts: []
VOI2: []
Contrast: 0
After filling out subject-wise info with a loop, the script returns the VOI2 error and has also changed the input to (exemplified with 1 subject)
The variables Tasks, CompContrasts, Contrasts, VOI2 have been changed?! (and some additional ones added).
subject: '01_CC_16_Se_PrCoPa'
directory: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/1st_Level/Analysis_1_Prepro_2_NOMASK_Cov_Arousal/Output_SDEC_12sec_add_combined_00_11 Kopie/01_CC_16_Se_PrCoPa'
VOI: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/ROI_Masks_ElReg/ROI_differential_clusters_masks/resliced_to_fmri_dims/rAmy_Juelich_combined_CMLBSF.nii'
Region: 'Amy'
Estimate: 1
contrast: 0
extract: 'eig'
Tasks: {}
Weights: []
maskdir: '/Users/DHA/Documents/MATLAB/Fear_Pathways/Analysis/MRI_Analysis/1st_Level/Analysis_1_Prepro_2_NOMASK_Cov_Arousal/Output_SDEC_12sec_add_combined_00_11 Kopie/01_CC_16_Se_PrCoPa'
equalroi: 1
FLmask: 0
VOI2: {}
analysis: 'psy'
method: 'cond'
CompContrasts: 1
Weighted: 0
Contrasts: [1×1 struct]
ConcatR: 0
FSFAST: 0
preservevarcorr: 0
wb: 0
zipfiles: 0
rWLS: 0
Thank you so much,
Daniel
Aug 27, 2021 01:08 AM | Donald McLaren
RE: gPPI error: script misses VOI2 file where it is not necessary
If VOI2 is not an input, does it appear after running the script?
Aug 27, 2021 02:08 AM | danielhoffmann - Technical University Munich
RE: gPPI error: script misses VOI2 file where it is not necessary
Yes, the same error appears after removing the field VOI2 from the input struct P
also, I checked if the test data worked - the attention dataset went through without trouble.
also, I checked if the test data worked - the attention dataset went through without trouble.
Aug 27, 2021 10:08 AM | paulaberlin
RE: gPPI error: script misses VOI2 file where it is not necessary
Dear Donald,
thank you for your reply. I already tried that, unfortunately the same errors still appear.
Best,
Paula
thank you for your reply. I already tried that, unfortunately the same errors still appear.
Best,
Paula
Mar 14, 2022 10:03 AM | juliemaeh
RE: gPPI error: script misses VOI2 file where it is not necessary
Dear Donald,
I get the same error described below, the VOI2 file is missing while there is no need for this file as I am performing an psychophysiological interaction analysis. Was this issue resolved and if so, how?
Thank you,
Julie
I get the same error described below, the VOI2 file is missing while there is no need for this file as I am performing an psychophysiological interaction analysis. Was this issue resolved and if so, how?
Thank you,
Julie