Repository navigation
Move to md-models 0.3.0 and mdmodels 0.4.0 - #105
Merged
Merged
Conversation
- Require mdmodels >=0.4.0,<0.5 (mdmodels-core 0.3). - Point the specs submodule at enzymeml-specifications#34 (relaxed version pattern, vessel_id no longer mapped to schema:identifier). - Regenerate pyenzyme/versions/v2.py with `md-models convert -t python-pydantic -O astropy`. - New documents now say "version": "2.0" (the spec default); update the composer fixtures. Existing "2" documents still load. - SBML annotations now carry every mapped field, so the PEtab reference model is regenerated. rdflib gives the new blank nodes random IDs and order, so the test ignores both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Follow enzymeml-specifications#34, which bumps the document version default to 2.1. Existing "2" and "2.0" documents still load unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Moves PyEnzyme to
mdmodels0.4.0 (mdmodels-core 0.3) and regenerates the v2 model with md-models 0.3.0.Depends on EnzymeML/enzymeml-specifications#34. The
specssubmodule points at that PR's commit (9775809). If EnzymeML/enzymeml-specifications#34 is squash- or rebase-merged, update the submodule to the merged commit before merging this.Changes
mdmodels>=0.4.0,<0.5, plusuv.lock.pyenzyme/versions/v2.pyregenerated withmd-models convert -t python-pydantic -O astropy."version": "2.1", the new spec default from EnzymeML 2.1: accept major-only versions, stop mapping vessel_id to schema:identifier enzymeml-specifications#34. Older md-models wrote"2". Existing"2"and"2.0"documents still load and keep their version, because EnzymeML 2.1: accept major-only versions, stop mapping vessel_id to schema:identifier enzymeml-specifications#34 relaxes the pattern md-models now enforces. The composer fixtures are updated to"2.1".constant, references), so the reference model is regenerated. rdflib gives the new blank nodes random IDs and writes them in random order, so the comparison ignores both.What changes for users (from md-models 0.3.0)
Patternconstraints, so values that never matched the spec are rejected on load.@lists;Identifierfields are literals;@id,@typeand@contextare read back from documents.Tested
uv run pytest: 121 passed, including the network tests; three runs in a row are stable."version": "2"files intests/andexamples/load.pyenzyme/andtests/passes.Not included: the fetcher changes from #104.
🤖 Generated with Claude Code
This change is