Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions wfdb/io/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,10 +940,10 @@ def wr_ann_file(self, write_fs, write_dir=""):
core_bytes = self.calc_core_bytes()

# Mark the end of the special annotation types if needed
if fs_bytes == [] and cl_bytes == []:
end_special_bytes = []
else:
if len(fs_bytes) or len(cl_bytes):
end_special_bytes = [0, 236, 255, 255, 255, 255, 1, 0]
else:
end_special_bytes = []

# Write the file
with open(
Expand Down