From 530da0b113c701a781057b1419f46f1e14cac8b7 Mon Sep 17 00:00:00 2001 From: danibene <34680344+danibene@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:30:44 -0400 Subject: [PATCH 1/2] use underscore in database name for annotations to be consistent with database name for ECG data --- data/gudb/download_gudb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gudb/download_gudb.py b/data/gudb/download_gudb.py index cae0e02d5f..630e65f253 100644 --- a/data/gudb/download_gudb.py +++ b/data/gudb/download_gudb.py @@ -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) From 19c140650377a0b24cadbf09690178675fd57a93 Mon Sep 17 00:00:00 2001 From: danibene <34680344+danibene@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:31:00 -0400 Subject: [PATCH 2/2] fix typo in comment --- data/gudb/download_gudb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gudb/download_gudb.py b/data/gudb/download_gudb.py index 630e65f253..b56f8f1a08 100644 --- a/data/gudb/download_gudb.py +++ b/data/gudb/download_gudb.py @@ -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})