Skip to content

Commit

Permalink
Bugfix: FEM mesh with SimNIBS: Do not delete the anatomy
Browse files Browse the repository at this point in the history
  • Loading branch information
ftadel committed Oct 19, 2021
1 parent 1459481 commit 1c25f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/process/functions/process_fem_mesh.m
Expand Up @@ -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];
Expand Down

0 comments on commit 1c25f84

Please sign in to comment.