Skip to content

Commit

Permalink
Update pop_taskinfo.m
Browse files Browse the repository at this point in the history
formatting
  • Loading branch information
cll008 committed Nov 17, 2021
1 parent 61be68b commit 37dd411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pop_taskinfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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);
Expand Down

0 comments on commit 37dd411

Please sign in to comment.