From f8af9ab04f72c610043a31d3c3229e8e43332cba Mon Sep 17 00:00:00 2001 From: SamJelfs <68540342+SamJelfs@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:07:23 +0100 Subject: [PATCH] Fix selection of channels when converting to EDF --- wfdb/io/convert/edf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wfdb/io/convert/edf.py b/wfdb/io/convert/edf.py index e3096884..a2742015 100644 --- a/wfdb/io/convert/edf.py +++ b/wfdb/io/convert/edf.py @@ -581,6 +581,7 @@ def wfdb_to_edf( sampfrom=sampfrom, sampto=sampto, smooth_frames=False, + channels=channels, ) record_name_out = record_name.split(os.sep)[-1].replace("-", "_")