Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the SBML annotations work just like with JSON models #676

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

exaexa
Copy link
Collaborator

@exaexa exaexa commented Sep 27, 2022

This imports CV terms from SBML1.3 (and saves them back). Import and representation methodology is moreless the same as with cobra.:snake: . Because finally fixing this I bump 1.4.1.

There is a bunch of minor, partially surprising fixes that were packed along the way. Most notably there's no realistically good way to export notes to SBML

Cc @HettieC -- this should finally fix the whole annotation problem.

- support CVTerms-based annotations in the usual way
  (thanks COBRApy for inspiration!)
- fix minor issues with notes and formula export
- prevent problems when exporting (some) non-SBMLizable metabolite names
(I need to depend on the fixes here)
@exaexa exaexa added the quality improves maintainability and code clarity label Sep 27, 2022
@exaexa exaexa added this to the v1.5 milestone Sep 27, 2022
@exaexa exaexa requested a review from stelmo September 27, 2022 09:36
@codecov
Copy link

codecov bot commented Sep 27, 2022

Codecov Report

Base: 91.00% // Head: 90.68% // Decreases project coverage by -0.32% ⚠️

Coverage data is based on head (8ecd4bf) compared to base (7d789eb).
Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #676      +/-   ##
===========================================
- Coverage    91.00%   90.68%   -0.33%     
===========================================
  Files           82       82              
  Lines         2012     2039      +27     
===========================================
+ Hits          1831     1849      +18     
- Misses         181      190       +9     
Impacted Files Coverage Δ
src/base/types/SBMLModel.jl 78.75% <60.00%> (-6.16%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@stelmo stelmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@exaexa exaexa merged commit bfdd422 into develop Sep 27, 2022
@exaexa exaexa deleted the mk-sbml-annot branch September 27, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality improves maintainability and code clarity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants