Repository navigation
fix: two MONDO-import CI failures (nolabels + check_mondo_obsoletes) - #2743
Merged
Merged
Conversation
…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]>
…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]>
This was referenced Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two CI failures, both caused by the latest
mondo-base.owlmirror (upstream MONDO changes, not EFO-authored). CI fetches a fresh MONDO mirror and regeneratesimports/mondo_import.owl, so both surface onmastertoo.1.
nolabels-violation— 9 unlabeled GO/NCBITaxon fillersThe latest MONDO declares 9 foreign terms (3 GO, 6 NCBITaxon) as bare, label-less
owl:Classand uses them assomeValuesFromfillers in disease axioms. The BOT extract pulls them into the MONDO import without labels → 9 classes with nordfs:labelin the merged/reasonedbuild/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 replacementWe import
MONDO_0016061("immunodeficiency with factor H anomaly"), which the latest MONDO deprecated, replacing it withMONDO_0012350("complement factor H deficiency"). The QC gate requires a deprecated import's replacement to also be in the term list.Fix: add
MONDO_0012350toiri_dependencies/mondo_terms.txt(re-sorts the file; no terms lost). Additionally, the obsolete EFO termOrphanet_200421had itsIAO_0100001/reason_for_obsolescencepointing at the now-obsoleteMONDO_0016061— repointed forward to the liveMONDO_0012350.Changes
iri_dependencies/mondo_exclude.txtiri_dependencies/mondo_terms.txtefo-edit.owlimports/mondo_terms.txt,reports/mondo_obsolete_import_check.tsvChecks
nolabels: full reasonedbuild/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 labelefo-edit.owl: MONDO_0016061 → 0 occurrences; MONDO_0012350 → 2;normalize_srcclean; metadata-only change on an already-deprecated term (no satisfiability impact)Notes
check_mondo_obsoletes).🤖 Generated with Claude Code