From 3a9f354d65fc68e5c58a103b3bdba74bf843ab5c Mon Sep 17 00:00:00 2001 From: andreashorn Date: Wed, 4 May 2016 16:08:25 -0400 Subject: [PATCH] amend to last commit --- tools/acpc2mni/ea_native2acpc.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/acpc2mni/ea_native2acpc.m b/tools/acpc2mni/ea_native2acpc.m index bf978e0d4..c96c36a85 100644 --- a/tools/acpc2mni/ea_native2acpc.m +++ b/tools/acpc2mni/ea_native2acpc.m @@ -41,9 +41,10 @@ fidpoints_vox=ea_getfidpoints(fidpoints_mm,tempfile); - [~,ptname]=fileparts(uidir{pt}); - options.prefs=ea_prefs(ptname); - + [options.root,options.patientname]=fileparts(uidir{pt}); + options.root=[options.root,filesep]; + options.prefs=ea_prefs(options.patientname); + options=ea_assignpretra(options); % warp into patient space: [fpinsub_mm] = ea_map_coords(fidpoints_vox', tempfile, [directory,'y_ea_normparams.nii'], '');