From 72ab80ed6ac12d1acede952d94a0598aa93dc417 Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Tue, 4 Mar 2025 16:26:16 +0100 Subject: [PATCH 1/3] rethrow ctrl-c --- src/import_edf.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import_edf.jl b/src/import_edf.jl index d6f5e0c8..aad7212d 100644 --- a/src/import_edf.jl +++ b/src/import_edf.jl @@ -396,6 +396,7 @@ function plan_edf_to_onda_samples(header, end end catch e + e isa InterruptException && rethrow() return PlanV3(_errored_row(row, e)) end From 9c5d013efcd51d11c1fb9b54c4350dc98a62f153 Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Tue, 4 Mar 2025 16:32:26 +0100 Subject: [PATCH 2/3] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 716c37e5..89790e7a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "OndaEDF" uuid = "e3ed2cd1-99bf-415e-bb8f-38f4b42a544e" authors = ["Beacon Biosignals, Inc."] -version = "0.13.1" +version = "0.13.2" [deps] Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" From 2b385cfd601ddcfe45fd9587d69b024daf65ef45 Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Tue, 4 Mar 2025 16:33:36 +0100 Subject: [PATCH 3/3] Update import_edf.jl --- src/import_edf.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import_edf.jl b/src/import_edf.jl index aad7212d..7e18ff00 100644 --- a/src/import_edf.jl +++ b/src/import_edf.jl @@ -560,6 +560,7 @@ function edf_to_onda_samples(edf::EDF.File, plan_table; validate=true, dither_st end return (; idx, samples, plan_rows=rows) catch e + e isa InterruptException && rethrow() plan_rows = _errored_rows(rows, e) return (; idx, samples=missing, plan_rows) end