Skip to content

Don't crash parsing ABF files with an invalid acquisition date#1866

Open
h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:axon_lack_of_date_bug
Open

Don't crash parsing ABF files with an invalid acquisition date#1866
h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:axon_lack_of_date_bug

Conversation

@h-mayorquin

Copy link
Copy Markdown
Contributor

Some ABF files store a "no date" sentinel (all bits set) in their date header fields, and AxonRawIO currently raises while building the recording datetime from those values, which blocks reading the file entirely even though the date is non-essential annotation. Both the ABF v1 and ABF v2 paths produce out-of-range values from this sentinel, so parsing now falls back to a None recording datetime rather than failing, keeping the signal accessible.

@h-mayorquin h-mayorquin self-assigned this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant