MIT-LCP / MIT-LCP/physionet

rdann error Improper assignment with rectangular empty matrix

Open
#101 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
82
Forks
21
Avg merge
35m
Merged PRs (30d)
1

Description

Improper assignment with rectangular empty matrix.

Error in rdann (line 153)
ann(n)=C{3};

Error in afdb_test (line 7)
[ann,type,subtype,chan,num,comments] = rdann(datapath,'wqrs');

how to use?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from afdb_test at line 7 and inspect rdann at line 153, where ann(n)=C{3} raises the error. Check the shape and contents of C for the wqrs record, then verify that rdann completes without the rectangular empty matrix assignment error and returns the documented outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.