From 348b448b9e2ecd122313de722d8aa46af6d8ddcd Mon Sep 17 00:00:00 2001 From: andreashorn Date: Thu, 7 Feb 2019 12:07:02 +0100 Subject: [PATCH] Amend --- ea_checkstructures.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ea_checkstructures.m b/ea_checkstructures.m index 9c06a6dff..4080d6b34 100644 --- a/ea_checkstructures.m +++ b/ea_checkstructures.m @@ -670,7 +670,7 @@ function checkstructures_CloseRequestFcn(hObject, eventdata, handles) ea_mkdir([directory,'fiducials',filesep,ea_getspace]); if ~exist([directory,'fiducials',filesep,ea_getspace,filesep,uuid,'.nii'],'file') - nii=ea_load_nii([directory,'t1.nii']); + nii=ea_load_nii([ea_space,'t1.nii']); nii.fname=[directory,'fiducials',filesep,ea_getspace,filesep,uuid,'.nii']; nii.dt=[16,0]; nii.img(:)=0;