MIT-LCP / MIT-LCP/physionet

problems/bugs within the MGH/MF Waveform Database

Open
#84 0 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

One (for sure) or even three (possible) header files contained in the MGH/MF Waveform Database are faulty and therefore can't be read with the wfdb python library

  • mgh025's header is missing a digit in its year (e.g. 199 instead of 1991?)
  • mgh061's as well as mgh127's headers are missing a correct declaration of the number of samples per signal field in their record line. E.g. in both headers the signal has a length of 0 samples - which of course can be a correct declaration but should there really be files in an official database missing a value in that field? [furthermore/alternatively could be an incompatibility of the python package]

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 inspecting the linked mgh025.hea, mgh061.hea, and mgh127.hea files and reproducing the failures with the wfdb Python library. Determine whether the year and sample-count fields are faulty or reflect a library incompatibility; done when the diagnosis is confirmed and the affected headers or compatibility behavior is corrected.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.