Skip to content
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

Plans should note if a file is truncated #59

Open
ericphanson opened this issue Nov 3, 2022 · 1 comment
Open

Plans should note if a file is truncated #59

ericphanson opened this issue Nov 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ericphanson
Copy link
Member

Currently, it is just a warning in EDF.jl, but I think accessing this information programatically could be useful.

@ararslan
Copy link
Member

ararslan commented Nov 3, 2022

I think this is something that'd have to be handled by EDF.jl itself before OndaEDF could reasonably expose this. EDF.jl could store e.g. the number of bytes that didn't get read from the stream, which would be 0 for untruncated files. There are cases where that can't be determined though (cf. beacon-biosignals/EDF.jl#62).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants