Complete term structure for PAH perturbation in PKU model#342
Complete term structure for PAH perturbation in PKU model#342github-actions[bot] wants to merge 3 commits intomainfrom
Conversation
… model This adds the missing term and modifier fields to the PAH perturbation in the Harvey Whole-Body PKU Model, making the structure consistent with the other computational models in the file. Cherry-picked from PR #57. Other changes from that PR contained fabricated evidence snippets that did not validate against PubMed abstracts and were therefore excluded. Co-Authored-By: Dragon-AI Agent <cmungall+dragon-ai-agent@gmail.com>
|
Claude finished @cmungall's task in 2m 37s —— View job PR Review: Complete term structure for PAH perturbation in PKU modelTodo List
Critical Issues1. Unresolved Merge Conflict 🚨The file contains unresolved merge conflict markers on lines 249-257: <<<<<<< dragon-ai/improve-evidence-snippets
- preferred_term: PAH
term:
id: HGNC:8582
label: PAH
modifier: ABSENT
=======
- preferred_term: PAH
>>>>>>> mainImpact:
Resolution needed: The merge conflict must be resolved by removing the conflict markers and keeping the intended version. 2. Inconsistent Ontology Prefix Casing
|
| Model | Line | Term Structure | Modifier |
|---|---|---|---|
| Multi-compartment PKU FBA | 221-225 | ✅ Complete | ✅ ABSENT |
| Recon3D with PAH knockout | 237-241 | ✅ Complete | ✅ ABSENT |
| Harvey Whole-Body PKU (PR) | 250-254 | ✅ Complete | ✅ ABSENT |
After this PR (once conflicts resolved), all three models will have consistent perturbation structures. ✅
Recommendations
Required Changes
- Resolve merge conflict - Remove conflict markers and keep intended version
- Fix ontology prefix casing - Change
HGNC:8582tohgnc:8582 - Fix indentation - Ensure proper 2-space indent for list items under
perturbations:
Suggested Actions
# Correct version should be:
perturbations:
- preferred_term: PAH
term:
id: hgnc:8582 # lowercase to match codebase
label: PAH
modifier: ABSENTValidation Commands
After fixes, run:
just validate kb/disorders/Phenylketonuria.yaml
just validate-terms-file kb/disorders/Phenylketonuria.yamlSummary
Concept: ✅ Excellent - Adding complete term structure improves data quality and consistency
Implementation: ❌ Needs fixes - Merge conflict and casing inconsistency must be addressed
Biological validity: ✅ Correct - PAH with ABSENT modifier accurately represents PKU pathophysiology
Once the merge conflict and casing issues are resolved, this PR will be ready to merge.
|
@claude fix botched merge conflict resolution |
|
Claude finished @cmungall's task —— View job Todo List
Merge Conflict Resolution✅ Fixed the botched merge conflict in Changes Made
ResultAll three computational models in the file now have consistent perturbation structures:
The merge conflict has been resolved and changes pushed to the branch. The PR should now be ready to merge. |
- Resolve merge conflict markers on lines 249-257 - Keep complete term structure for Harvey Whole-Body PKU Model - Fix casing from HGNC:8582 to hgnc:8582 for consistency with other models - Maintains consistency across all three computational models in file Co-authored-by: Chris Mungall <cmungall@users.noreply.github.com>
|
@dragon-ai-agent please trigger QC workflow to validate this |
|
✅ QC Validation Complete All QC checks passed successfully for the changes in this PR: Schema Validation: ✓ Passed
Term Validation: ✓ Passed
Reference Validation: ✓ Passed
The added term structure for the PAH perturbation correctly follows the dismech schema pattern and matches the structure used in other computational models in the file. This PR is ready to merge. 🤖 QC validation performed by Dragon-AI Agent |
Summary
This PR adds the missing term structure and modifier to the PAH perturbation in the Harvey Whole-Body PKU Model computational model entry (Phenylketonuria.yaml). This makes the structure consistent with the other two computational models in the file.
Changes
term.id: HGNC:8582term.label: PAHmodifier: ABSENTContext
This change was cherry-picked from PR #57. The other changes in that PR contained fabricated evidence snippets that did not validate against PubMed abstracts:
Only this structural improvement, which adds proper ontology term binding to match the pattern used in other models, has been preserved.
Validation
uv run linkml-validate -s src/dismech/schema/dismech.yaml -C Disease kb/disorders/Phenylketonuria.yaml # No issues found🤖 Generated by Dragon-AI Agent
Fixes #57