Closed ping-doctor closed 6 years ago
This is a bug (?) where vistasoft doesn't create a preferences file for itself on first run, and then crashes when it can't find said file. See my report further below, it also causes a different routine to crash as well. You can just create the preferences yourself by doing this:
addpref('VISTA', 'verbose',true);
Afterward it should run fine.
Hi All,
I will add a check for prefs in the offending function (mrvWaitbar), and if not found, then initialize them in order to avoid this error.
-Jon
On Tue, Apr 3, 2018 at 5:57 PM, Marc Joanisse notifications@github.com wrote:
This is a bug (?) where vistasoft doesn't create a preferences file for itself on first run, and then crashes when it can't find said file. See my report further below, it also causes a different routine to crash as well. You can just create the preferences yourself by doing this:
addpref('VISTA', 'verbose',true);
Afterward it should run fine.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vistalab/vistasoft/issues/284#issuecomment-378412692, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBX3sqOyDYwrC2DBny-_SN2XaR-BUoXks5tk_BWgaJpZM4TCtcz .
-- Jonathan Winawer Assistant Professor of Psychology and Neural Science
New York University 6 Washington Place New York, NY, 10003 (212) 998-7922 (phone) (212) 995-4018 (fax) jonathan.winawer@nyu.edu http://psych.nyu.edu/winawer/
Hello everyone,
I preprocessed my data with FSL,and produced 9 output files( vg_00001_S0.nii.gz;vg_00001_FA.nii.gz; vg_00001_MD.nii.gz; vg_00001_L1...L3;vg_00001_V1...V3).so I used these files as input to created the 'dt6.mat' file using the dtiMakeDt6FromFsl function. and I am having some problems in getting this when I use dtiMakeDt6FromFsl, the following error occurs:
vg_00001_S0.nii.gz Data will be saved in G:\zc\00001... Coregistering (using spm tools)... iteration 1... 0.0003486 0 0 0 0 0 | -1.2114 0.0003486 -0.002186 0 0 0 0 | -1.2114 0.0003486 -0.002186 0.001717 0 0 0 | -1.2115 0.0003486 -0.002186 0.001717 3.116e-05 0 0 | -1.2115 0.0003486 -0.002186 0.001717 3.116e-05 -4.101e-06 0 | -1.2115 0.0003486 -0.002186 0.001717 3.116e-05 -4.101e-06 1.693e-05 | -1.2115 iteration 1... -0.0003179 -0.002186 0.001717 3.116e-05 -4.101e-06 1.693e-05 | -1.2099 -0.0003179 -0.005044 0.001717 3.116e-05 -4.101e-06 1.693e-05 | -1.2099 -0.0003179 -0.005044 0.002117 3.116e-05 -4.101e-06 1.693e-05 | -1.2099 -0.0003179 -0.005044 0.002117 2.326e-05 -4.101e-06 1.693e-05 | -1.2099 -0.0003179 -0.005044 0.002117 2.326e-05 9.351e-06 1.693e-05 | -1.2099 -0.0003179 -0.005044 0.002117 2.326e-05 9.351e-06 1.244e-06 | -1.2099 Interpolating tensors... Error using prefutils>getFieldRequired (line 70) group VISTA does not exist
Error in prefutils (line 11) [varargout{1:nargout}] = feval(varargin{:});
Error in getpref (line 81) Group = prefutils('getFieldRequired',Preferences,group,...
Error in mrvWaitbar (line 20) verbose = getpref('VISTA', 'verbose');
Error in mrAnatResliceSpm (line 132) if(showProgress), h = mrvWaitbar(0,['Resampling with ' interpMethod ' interpolation...']); end
Error in dtiMakeDt6FromFsl (line 193) dt6 = mrAnatResliceSpm(dt6, inv(b0.acpcXform), bb, mmDt, [1 1 1 0 0 0], showFigs);
Does anybody know what could be wrong? Thank you!
Best,
Liang Ping