Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/pspm/svn/trunk@528 23ec9670-3a1e-4a12-9187-a0ba8bce340d
  • Loading branch information
Tobias Moser committed Feb 16, 2018
1 parent 25caba1 commit aa48a2e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pspm_cfg/pspm_cfg_run_pp_heart_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@
% copy options
opt = struct();

opt.minhr = job.pp_type{i}.ecg2hb.opt.minhr;
opt.maxhr = job.pp_type{i}.ecg2hb.opt.maxhr;
opt.minHR = job.pp_type{i}.ecg2hb.opt.minhr;
opt.maxHR = job.pp_type{i}.ecg2hb.opt.maxhr;
opt.semi = job.pp_type{i}.ecg2hb.opt.semi;
opt.twthresh = job.pp_type{i}.ecg2hb.opt.twthresh;

% set replace
opt.replace = replace;
if replace
opt.channel_action = 'replace';
else
opt.channel_action = 'add';
end

% call function
[sts, winfo] = pspm_ecg2hb(fn, chan, opt);
Expand Down Expand Up @@ -99,4 +103,4 @@
end;
end;

out = {fn};
out = {fn};

0 comments on commit aa48a2e

Please sign in to comment.