MIT-LCP / MIT-LCP/wfdb-python

Subelements of the symbol field must be strings of length 1 to 3 error

Offen
#201 9 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@Lucas-Mc arbeitet bereits daran.

Seit 30.4.2020.

bug
Vorherrschende Sprache
Jupyter Notebook
Sterne
853
Forks
322
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am using wrann to write the symbols and the indices into the reference annotation file. I am getting this error Subelements of the symbol field must be strings of length 1 to 3 for the symbols list. I checked the type of the list elements using
for i in range(0,len(labels)):
print(isinstance(labels[i], str_types)) and the result is True for all the elements of the list. If I use a dummy symbol list I am able to write to the annotation file. Could you tell me what is it that I am doing wrong.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.