From 1c25f8491787d2f831726f818527c1054d2f7394 Mon Sep 17 00:00:00 2001 From: ftadel Date: Tue, 19 Oct 2021 14:50:01 +0200 Subject: [PATCH] Bugfix: FEM mesh with SimNIBS: Do not delete the anatomy --- toolbox/process/functions/process_fem_mesh.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox/process/functions/process_fem_mesh.m b/toolbox/process/functions/process_fem_mesh.m index 5c30a9d15..f0b14df3d 100644 --- a/toolbox/process/functions/process_fem_mesh.m +++ b/toolbox/process/functions/process_fem_mesh.m @@ -816,7 +816,7 @@ end % === IMPORT OUTPUT FOLDER === - [errorImport, FemFile] = import_anatomy_simnibs(iSubject, simnibsDir, OPTIONS.NbVertices, isInteractive, [], 0, 1); + [errorImport, FemFile] = import_anatomy_simnibs(iSubject, simnibsDir, OPTIONS.NbVertices, isInteractive, [], 0, 2); % Handle errors if ~isempty(errorImport) errMsg = [errMsg, 'Error trying to import the SimNIBS output: ' 10 errorImport];