Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occured while running pDOC #2

Open
ethmery opened this issue Nov 18, 2019 · 1 comment
Open

Error occured while running pDOC #2

ethmery opened this issue Nov 18, 2019 · 1 comment

Comments

@ethmery
Copy link

ethmery commented Nov 18, 2019

Dear Doc. Song,
Thank you for developing pDOC for the research of patients with DOC. I ran pDOC on MATLAB today while it broke halfway showing "error" that I had to manually ended the program.
I am posting the log file showing on MATLAB main screen hoping that it could be of help to find out what was wrong.

pDOC
Processing 1 CHENYONG
copy standard brain network atlas.
Warning: spm.util.cdir was DEPRECATED in SPM8 and has now been REMOVED.
Please update your batches to use BasicIO instead.
Conversion Normalise:EstWrite -> Old Normalise:EstWrite
You might have to manually update the template image in Old Normalise:EstWrite.
Conversion Normalise:Write -> Old Normalise:Write
Item oldnorm: No field(s) named
estwrite


Running job #1

Running 'Change Directory (Deprecated)'
New working directory: f:\pDOC\CHENYONG\fMRI
Done 'Change Directory (Deprecated)'
Running 'Slice Timing'

SPM12: spm_slice_timing (v6130) 22:22:42 - 18/11/2019

Number of slices is... : 64
Time to Repeat (TR) is... : 2
Parameters are specified as... : slice indices
Completed : 22:29:04 - 18/11/2019
Done 'Slice Timing'
Running 'Realign: Estimate & Reslice'

SPM12: spm_realign (v6070) 22:29:04 - 18/11/2019

Completed : 22:33:23 - 18/11/2019

SPM12: spm_reslice (v5929) 22:33:23 - 18/11/2019

Completed : 22:43:32 - 18/11/2019
Done 'Realign: Estimate & Reslice'
Running 'Old Normalise: Estimate & Write'
Smoothing by 0 & 8mm..
Coarse Affine Registration..
Fine Affine Registration..
3D CT Norm...
iteration 1: FWHM = 6.259 Var = 1.07649
iteration 2: FWHM = 5.341 Var = 0.935516
iteration 3: FWHM = 5.297 Var = 0.919712
iteration 4: FWHM = 5.304 Var = 0.919712
iteration 5: FWHM = 5.3 Var = 0.919712
iteration 6: FWHM = 5.303 Var = 0.919712
iteration 7: FWHM = 5.302 Var = 0.919712
iteration 8: FWHM = 5.302 Var = 0.919712
iteration 9: FWHM = 5.301 Var = 0.919712
iteration 10: FWHM = 5.302 Var = 0.919712
iteration 11: FWHM = 5.301 Var = 0.919712
iteration 12: FWHM = 5.302 Var = 0.919712
iteration 13: FWHM = 5.301 Var = 0.919712
iteration 14: FWHM = 5.302 Var = 0.919712
iteration 15: FWHM = 5.302 Var = 0.919712
iteration 16: FWHM = 5.301 Var = 0.919712
Saving Parameters..

SPM12: spm_write_sn (v4878) 22:43:43 - 18/11/2019

Completed : 22:43:44 - 18/11/2019
Done 'Old Normalise: Estimate & Write'
Running 'Old Normalise: Write'

SPM12: spm_write_sn (v4878) 22:43:44 - 18/11/2019

Completed : 22:43:50 - 18/11/2019
Done 'Old Normalise: Write'
Running 'Smooth'
Done 'Smooth'
Done

removing the head motion and whole brain mean.
read the 3D files and form a 4D matrix
multiple regression
rewrite the new 3D files
Error using f_temporalMask_fMRI3D_series (line 13)
numel(temporal_mask) = 563 ~= 500.

Error in f_spm8batch_BB_EPI2fMRI_SC (line 215)
prefix=f_temporalMask_fMRI3D_series(fMRI_3D_series, temporal_mask);

Error in f_DOC_prognosication_rsfMRI_clinical (line 42)
f_spm8batch_BB_EPI2fMRI_SC(subject_list_file);

Error in pDOC>pb_calculation_Callback (line 196)
f_DOC_prognosication_rsfMRI_clinical(patient_directory,...

Error in gui_mainfcn (line 96)
feval(varargin{:});

Error in pDOC (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in @(hObject,eventdata)pDOC('pb_calculation_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating uicontrol Callback

[At this point I waited for about 30 minutes with no response, I had to manually close the GUI.]

Bye.

Thank you very much!

@realmsong504
Copy link
Owner

realmsong504 commented Apr 9, 2020

Hi, I guess that there are other nii files in addtion to the fMRI nii files in your "fMRI" folder. So I suggest that you should delete all nii files in the "fMRI" folder and then recopy the fMRI nii files into it.
Good luck.

The error is as follows. "Error using f_temporalMask_fMRI3D_series (line 13)
numel(temporal_mask) = 563 ~= 500."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants