Skip to content

Commit

Permalink
Update data-exploration.ipynb (Mismatch in printed segment)
Browse files Browse the repository at this point in the history
`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'?")
  • Loading branch information
CharmingChocobo authored Jul 19, 2024
1 parent 5376113 commit 9b35eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/tutorial/notebooks/data-exploration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"\"\"\")"
Expand Down Expand Up @@ -1119,4 +1119,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit 9b35eda

Please sign in to comment.