Commit bfe2822
fix: add DOI to prefix_mapping in _get_not_found_ids
The `_get_not_found_ids` method was missing DOI from its
`prefix_mapping` dict. When a paper was looked up using a
DOI-prefixed ID (e.g., `DOI:10.1145/792550.792552`), the method
would add only the bare DOI value to `found_ids` (without the
`DOI:` prefix), causing the input ID to never match. This resulted
in a false "IDs not found" warning for every DOI-prefixed lookup,
even when the paper was successfully returned.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 93bc2ca commit bfe2822
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
287 | 299 | | |
288 | 300 | | |
289 | 301 | | |
| |||
829 | 841 | | |
830 | 842 | | |
831 | 843 | | |
832 | | - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
833 | 857 | | |
834 | 858 | | |
835 | 859 | | |
| |||
0 commit comments