Commit 99f1c97
Configure reference validator to silence unfetchable refs (#57)
Drive down `just validate-references-all` errors from 101 to 62 by
adding a project-level config for linkml-reference-validator and
opportunistically refreshing one cache via the new PMC fallback.
Changes:
- New `conf/reference_validator.yaml` config wired into the
`validate-references` and `validate-references-all` just targets
via the validator's `--config` flag:
- `skip_prefixes: [BIOPROJECT]` so BIOPROJECT accessions like
PRJNA1272773 stop erroring (the validator's Entrez fetch path
hits a DTD tag-validation issue on these and there's no
abstract to validate anyway).
- `unknown_prefix_severity: WARNING` so the ~35 paywalled DOIs
that fail both Crossref and DataCite degrade from ERROR to
WARNING. The references stay in the data; the validator just
stops failing the run for content it cannot fetch.
- Refresh `references_cache/DOI_10.3389_fmicb.2018.01853.md` via
the PR #52 PMC fallback chain (DOI -> PMCID PMC6119820 -> JATS
abstract); recovers 4 "No content available" errors across the
communities that cite it.
The remaining 62 errors are all "No content available" for caches
that are genuinely paywalled with no OA mirror (older Springer,
Elsevier, IJSEM, etc.) - the validator's hardcoded ERROR severity
on empty cache content can't be relaxed via config, so these would
require either upstream curation changes or a feature ask to the
validator package.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7a0763a commit 99f1c97
6 files changed
Lines changed: 2052 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments