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 running xQSM #77

Open
MHoch96 opened this issue Dec 27, 2023 · 1 comment
Open

Error running xQSM #77

MHoch96 opened this issue Dec 27, 2023 · 1 comment

Comments

@MHoch96
Copy link

MHoch96 commented Dec 27, 2023

When I run xQSM as the dipole inversion step, I get the following error:

The following QSM algorithm will be used: xQSM
Warning: Name is nonexistent or not a directory:
/home/common/matlab/sepia/external/deepMRI/xQSM/matlab/eval

In path (line 109)
In addpath (line 86)
In Wrapper_QSM_xQSM (line 39)
In QSMMacro (line 108)
In SepiaIOWrapper (line 327)
In sepiaIO (line 79)
In sepia_config_56 (line 38)
In run (line 91)
In sepia>PushbuttonStart_Callback (line 353)
Warning: Name is nonexistent or not a directory:
/home/common/matlab/sepia/external/deepMRI/xQSM_data/checkpoints
In path (line 109)
In addpath (line 86)
In Wrapper_QSM_xQSM (line 40)
In QSMMacro (line 108)
In SepiaIOWrapper (line 327)
In sepiaIO (line 79)
In sepia_config_56 (line 38)
In run (line 91)
In sepia>PushbuttonStart_Callback (line 353)
There was an error! Please check the command window/error message file for more information.
Unrecognized function or variable 'field'.

Error in Wrapper_QSM_xQSM (line 50)
[localField, pos] = ZeroPadding(field, 8);

Error in QSMMacro (line 108)
chi = feval(wrapper_QSM_function{k},localField,mask,matrixSize_new,voxelSize,algorParam, headerAndExtraData);

Error in SepiaIOWrapper (line 327)
[chi,mask_ref] = QSMMacro(localField,mask_QSM,matrixSize,voxelSize,algorParam,headerAndExtraData);

Error in sepiaIO (line 79)
SepiaIOWrapper(input,output,maskFullName,algorParam);

Error in sepia_config_56 (line 38)
sepiaIO(input,output_basename,mask_filename,algorParam);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in sepia>PushbuttonStart_Callback (line 353)
run(configFilename);

Error while evaluating UIControl Callback.

Do I need to install another toolbox to use this method?

@kschan0214
Copy link
Owner

Hi, to be able to use xQSM, you will need the extra toolbox and data from them. You may find the instructions for setting up xQSM here: https://github.com/kschan0214/sepia/tree/master/addons/qsm/xQSM
or here:
https://sepia-documentation.readthedocs.io/en/latest/method/qsm/xQSM.html

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