Skip to content

Commit

Permalink
Merge pull request #1016 from danibene/fix/gudb_name_consistency
Browse files Browse the repository at this point in the history
[Fix] GUDB name consistency
  • Loading branch information
DominiqueMakowski authored Jul 28, 2024
2 parents d42a230 + 19c1406 commit 8195d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/gudb/download_gudb.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# creating class which loads the experiment
ecg_class = ecg_gudb_database.GUDb(participant, experiment)

# Chest Strap Data - only donwload if R-peaks annotations are available
# Chest Strap Data - only download if R-peaks annotations are available
if ecg_class.anno_cs_exists:

data = pd.DataFrame({"ECG": ecg_class.cs_V2_V1})
Expand All @@ -41,7 +41,7 @@
anno = pd.DataFrame({"Rpeaks": ecg_class.anno_cs})
anno["Participant"] = "GUDB_%.2i" %(participant)
anno["Sampling_Rate"] = 250
anno["Database"] = "GUDB (" + experiment + ")"
anno["Database"] = "GUDB_" + experiment

# Store with the rest
dfs_ecg.append(data)
Expand Down

0 comments on commit 8195d2f

Please sign in to comment.