Skip to content

fix: two MONDO-import CI failures (nolabels + check_mondo_obsoletes) - #2743

Merged
aleixpuigb merged 2 commits into
masterfrom
issue-2735-ci-nolabels
Jul 8, 2026
Merged

aleixpuigb merged 2 commits into
masterfrom
issue-2735-ci-nolabels

Conversation

@aleixpuigb

@aleixpuigb aleixpuigb commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes two CI failures, both caused by the latest mondo-base.owl mirror (upstream MONDO changes, not EFO-authored). CI fetches a fresh MONDO mirror and regenerates imports/mondo_import.owl, so both surface on master too.

1. nolabels-violation — 9 unlabeled GO/NCBITaxon fillers

The latest MONDO declares 9 foreign terms (3 GO, 6 NCBITaxon) as bare, label-less owl:Class and uses them as someValuesFrom fillers in disease axioms. The BOT extract pulls them into the MONDO import without labels → 9 classes with no rdfs:label in the merged/reasoned build/efo.owl.
Fix: add the 9 IRIs to iri_dependencies/mondo_exclude.txt (the same mechanism that already auto-strips HGNC fillers).

2. check_mondo_obsoletes — deprecated import with missing replacement

We import MONDO_0016061 ("immunodeficiency with factor H anomaly"), which the latest MONDO deprecated, replacing it with MONDO_0012350 ("complement factor H deficiency"). The QC gate requires a deprecated import's replacement to also be in the term list.
Fix: add MONDO_0012350 to iri_dependencies/mondo_terms.txt (re-sorts the file; no terms lost). Additionally, the obsolete EFO term Orphanet_200421 had its IAO_0100001/reason_for_obsolescence pointing at the now-obsolete MONDO_0016061 — repointed forward to the live MONDO_0012350.

Changes

Action File Detail
Edited iri_dependencies/mondo_exclude.txt +9 IRIs: GO_0006559, GO_0006569, GO_0016592, NCBITaxon_1678143/2732541/27829/3044783/3052230/3052310
Edited iri_dependencies/mondo_terms.txt +MONDO_0012350 (file re-sorted; net +1 line)
Edited efo-edit.owl Orphanet_200421 replaced-by MONDO_0016061 → MONDO_0012350 (2 lines)
Regenerated imports/mondo_terms.txt, reports/mondo_obsolete_import_check.tsv tracked artifacts refreshed

Checks

  • nolabels: full reasoned build/efo.owl → PASS, 0 violations; regenerating the MONDO import after adding MONDO_0012350 introduced no new unlabeled classes (differential diff empty)
  • check_mondo_obsoletes: 0 missing replacements, exit 0; MONDO_0012350 imported with label
  • 9 prior exclusions still absent from regenerated import
  • efo-edit.owl: MONDO_0016061 → 0 occurrences; MONDO_0012350 → 2; normalize_src clean; metadata-only change on an already-deprecated term (no satisfiability impact)

Notes

  • Pre-existing, unrelated to this PR: 11 PATO dangling-reference build warnings; 473 deprecated MONDO imports with no upstream replacement defined (warning-only in check_mondo_obsoletes).

🤖 Generated with Claude Code

…olabels)

Latest mondo-base declares 9 foreign terms (3 GO, 6 NCBITaxon) as bare,
label-less owl:Class fillers in disease axioms. Regenerating mondo_import.owl
from the fresh mirror leaked them in unlabeled, breaking the nolabels-violation
QC check (9 violations). Add them to mondo_exclude.txt so they are stripped
during import, matching the existing HGNC-filler exclusion pattern.

Verified: full reasoned build/efo.owl now passes nolabels with 0 violations.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@aleixpuigb aleixpuigb self-assigned this Jul 8, 2026
…ck_mondo_obsoletes)

Latest mondo-base deprecated MONDO_0016061 (immunodeficiency with factor H
anomaly), which we import, replacing it with MONDO_0012350 (complement factor
H deficiency). The check_mondo_obsoletes QC gate requires the replacement to
be in the import list, so add MONDO_0012350 to mondo_terms.txt (also re-sorts
the file, relocating 7 previously out-of-order trailing terms; no terms lost).

Also repoint the obsolete EFO term Orphanet_200421 (obsolete_immunodeficiency
with factor H anomaly): its IAO_0100001 "term replaced by" and
reason_for_obsolescence pointed at MONDO_0016061, now itself obsolete — update
both to the live MONDO_0012350.

Verified: check_mondo_obsoletes passes (0 missing replacements); MONDO_0012350
imported with label; prior 9 nolabels exclusions still absent; normalize_src clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@aleixpuigb aleixpuigb changed the title fix: exclude unlabeled GO/NCBITaxon fillers leaking from MONDO import (CI nolabels) fix: two MONDO-import CI failures (nolabels + check_mondo_obsoletes) Jul 8, 2026
@aleixpuigb
aleixpuigb merged commit 8e59beb into master Jul 8, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the issue-2735-ci-nolabels branch July 8, 2026 19:11
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