swharden / pyABF

pyABF is a Python package for reading electrophysiology data from Axon Binary Format (ABF) files

Home Page:https://swharden.com/pyabf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop warning when invalid dates are detected

swharden opened this issue · comments

An invalid date occurs when the date and time fields are all zeros. There is no "month zero", so conversion to date fails for these files. This is very rare and only affects damaged or de novo synthesized ABFs. The warning is noisy during testing.

log.warning("ABF file contains invalid date")

log.warning("ABF file contains invalid date")