From 37dd4110bb349f50865911e190f8b035bc54cc8d Mon Sep 17 00:00:00 2001 From: cll008 Date: Tue, 16 Nov 2021 17:30:41 -0800 Subject: [PATCH] Update pop_taskinfo.m formatting --- pop_taskinfo.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pop_taskinfo.m b/pop_taskinfo.m index 4e4b630..cc9a13d 100644 --- a/pop_taskinfo.m +++ b/pop_taskinfo.m @@ -196,7 +196,7 @@ function okCB(src,event) case 'TaskName' % no space allowed for task name gInfo.(objs(i).Tag) = strrep(objs(i).String,' ',''); case 'Authors' - gInfo.(objs(i).Tag) = split(objs(i).String, ','); + gInfo.(objs(i).Tag) = split(objs(i).String, ', '); case 'ReferencesAndLinks' gInfo.(objs(i).Tag) = {objs(i).String}; case 'PowerLineFrequency' @@ -205,7 +205,7 @@ function okCB(src,event) tInfo.(objs(i).Tag) = []; tInfo.(objs(i).Tag).FilterDescription.Description = objs(i).String; otherwise - tInfo.(objs(i).Tag) = {objs(i).String}; + tInfo.(objs(i).Tag) = objs(i).String; end elseif isfield(tInfo,objs(i).Tag) % remove field if no longer has value tInfo = rmfield(tInfo, objs(i).Tag);