Hi Manuel,
It looks like you have spm AND the WFU_PickAtlas installed. If properly setup there should be no calls to the spm_lite directory. Please remove all directories for the PickAtlas from your path and then do:
addpath('/Users/ming-tsungtseng/spm8_toolbox/WFU_PickAtlas_3.0.5b/wfu_pickatlas')
This will add only the PickAtlas directory. The PickAtlas will then add other directories to the path as needed.
Ben
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Manuel
Sent: Friday, February 9, 2018 5:18 AM
To: [log in to unmask]
Subject: [SPM] pickatlas error
Hi,
I used WFU_PickAtlas_3.0.5b and saved a BA 8 mask by pressing Save Mask. When I displayed it in SPM8, it is empty, and below is the error message. Could anyone help? Thank you.
Manuel
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Display Image'
Failed 'Display Image'
Error using fileparts
Too many output arguments.
In file "/Users/ming-tsungtseng/spm8_toolbox/WFU_PickAtlas_3.0.5b/wfu_tbx_common/spm_lite/private/wfu_spm.m" (???), function "wfu_spm" at line 168.
In file "/Users/ming-tsungtseng/spm8_toolbox/WFU_PickAtlas_3.0.5b/wfu_tbx_common/spm_lite/spm.m" (???), function "spm" at line 11.
In file "/Users/ming-tsungtseng/spm8/spm_orthviews.m" (v4405), function "reset_st" at line 1467.
In file "/Users/ming-tsungtseng/spm8/spm_orthviews.m" (v4405), function "spm_orthviews" at line 252.
In file "/Users/ming-tsungtseng/spm8/spm_image.m" (v4205), function "spm_image" at line 272.
In file "/Users/ming-tsungtseng/spm8/spm_image.m" (v4205), function "init_display" at line 284.
In file "/Users/ming-tsungtseng/spm8/spm_image.m" (v4205), function "spm_image" at line 81.
In file "/Users/ming-tsungtseng/spm8/config/spm_cfg_disp.m" (v4205), function "disp_image" at line 55.
The following modules did not run:
Failed: Display Image
Error using cfg_util (line 835)
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
Error in spm_jobman (line 208)
Error while evaluating uicontrol Callback
________________________________
UT Southwestern
Medical Center
The future of medicine, today.
|