From 9b35edad628ea1c58c62ec06d6744cae97b7b86b Mon Sep 17 00:00:00 2001 From: Jennefer Beenen <31727755+CharmingChocobo@users.noreply.github.com> Date: Fri, 19 Jul 2024 09:57:28 +0200 Subject: [PATCH] Update data-exploration.ipynb (Mismatch in printed segment) `segment_metadata` accesses 83411188_0002 instead of 83411188_0001 (as stated by the `- the segment '{segments[1]}'` , thus changed the print statement to `- the segment '{segments[2]}'`. (This was confusing for my when trying the exercize "Which of these signals is no longer present in segment '83411188_0005'?") --- content/tutorial/notebooks/data-exploration.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/tutorial/notebooks/data-exploration.ipynb b/content/tutorial/notebooks/data-exploration.ipynb index fb66518..bd3bb42 100644 --- a/content/tutorial/notebooks/data-exploration.ipynb +++ b/content/tutorial/notebooks/data-exploration.ipynb @@ -598,7 +598,7 @@ "segment_metadata = wfdb.rdheader(record_name=segments[2], pn_dir=record_dir)\n", "\n", "print(f\"\"\"Header metadata loaded for: \n", - "- the segment '{segments[1]}'\n", + "- the segment '{segments[2]}'\n", "- in record '{record_name}'\n", "- for subject '{str(Path(record_dir).parent.parts[-1])}'\n", "\"\"\")" @@ -1119,4 +1119,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}