Closed saulfield closed 10 months ago
Thanks for the catch! Definitely my initial attempt wasn't robust enough.
And thank you very much for the PR! I came up with a different solution though, that retains as much information as possible. Also, I try to avoid all empty containers (like [None, None]
). So my solution returns [(2019, None), None]
for "2212697X".
pybliometrics version: 3.5.2
Code to reproduce the bug:
First error:
Second error: