Skip to content

Commit

Permalink
bug in wavedet interface
Browse files Browse the repository at this point in the history
  • Loading branch information
marianux committed Aug 10, 2015
1 parent 3035a29 commit 66d5a6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion InstallECGkit.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function InstallECGkit(bIgnoreUpdate)

if( ~strcmpi(latest_release_str, release_str) )
disp_string_framed('*Red', sprintf('ecg-kit %s version available', latest_release_str) );
fprintf(1, 'Consider updating %s.\n', '<a href = "http://marianux.github.io/ecg-kit/">here</a>' );
fprintf(1, 'Consider updating %s.\n', '<a href = "matlab: web(''http://marianux.github.io/ecg-kit/'', ''-browser'' )">here</a>' );

cellfun(@(a)(rmpath(a)), default_paths);
return
Expand Down
6 changes: 3 additions & 3 deletions common/wavedet/wavedet_interface.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@

lead_processed_ok = lead_processed_ok + 1;

single_lead_positions(lead_processed_ok) = aux_struct2;
marks{lead_processed_ok} = aux_marks;
single_lead_positions(ii) = aux_struct2;
marks{ii} = aux_marks;
lead_processed_ok_idx = [lead_processed_ok_idx; ii];

end
Expand All @@ -128,7 +128,7 @@

%Multilead rules.

SLRmarks = SLR(marks,ECG_header.freq);
SLRmarks = SLR(marks(lead_processed_ok_idx),ECG_header.freq);

multilead_positions.Pon = round(SLRmarks(:,1));
multilead_positions.P = round(SLRmarks(:,2));
Expand Down

0 comments on commit 66d5a6d

Please sign in to comment.