Skip to content

rethrow ctrl-c #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 30, 2025
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 Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions src/import_edf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -559,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
Expand Down
Loading