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

2.1 #130

Merged
merged 137 commits into from
Oct 13, 2024
Merged

2.1 #130

merged 137 commits into from
Oct 13, 2024

Conversation

Schmoho
Copy link
Collaborator

@Schmoho Schmoho commented Oct 12, 2024

This branch suffered a lot from not having a clearly defined scope. It seems that at this point most bugs that would jump a user in the face have been dealt with and a bunch of new features have been implemented.
I performed tests on thousands of Biomodels, the BiGG-DB and a fair number of CarveMe models, so I am quite confident the code is stable and improves models (particularly Biomodels) vs. MEMOTE.

This branch also includes the rework of the code as separated app and library modules, which served to use the MP in the MPServer code.

…del id is in BiGG.

Parameter access now uniformly through getters/setters.
…command to run with validation, without adb and combine archive. Hopefully secret for Slack integration is correct now
…eplaced String.format with MessageFormat.format
… error with regard to includeAnyURI. Added some form of documentation to BiGGAnnotation to give a better overview, what is done by each method.
…tions and gene products out of BiGGAnnotation in to their own respective *Anntotation classes
…ady shared much of their code and moved it into CVTermAnnotation, which is now an abstract class from which both Annotation Classes and GeneProductAnnotation inherit.
… is done now. Still needs a pass to implement alternative paths for code dealing with models. Removed unused/unnecessary code from SBMLPolisher class that can be directly accessed by the Parameters singleton
… as both are required and missing out on either would throw a NullPointer
…action compartment codes. These are only set, if all instances, i.e. reaction, reactants and products agree on the compartment. Polishing of Species and Reactions should now be possible without a model present
…ch components are required and should thus throw an Exception, if they are missing. Moving parsers classes into subpackages somehow broke JSONParser, which needs fixing now
…ld work again, issue was a malformed formatting placeholder in a string. German translation needs to be done for the new messages and log levels still need to be adjusted
…ng them into the resource bundle. Copied missing entries into german resource bundle, untranslated for now
…g over to call sites.

Reordered parameters in ModelPolisherOptions and Parameters to be sorted alphabetically.
Enchanced documentation in ModelPolisher class.
Fixed small issue in JSONParser - forgot to wrap notes in XML namespace in one place, leading to unknown "p" elements.
Some smaller refactoring.
Defined ModelPolisher as entrypoint, allowing to pass arguments directly to the container without need to explicitly pass java -jar ModelPolisher-?.jar, i.e. docker-compose run polisher java -jar ModelPolisher-?.jar [options] is now docker-compose run polisher [options].
Need to update README.
Next up: Dealing with MIRIAM.
… class. Correct handling of non identifiers URLs should now be possible, but integration still needs to be finished -> non identifiers.org URLs are currently not correctly handled for implemented workarounds for BiGG data
…s might exist, as testing still needs to be implemented for new code
…d namespaces leads to SBMLReader crashing on the respective inner elemnt without namespace tag
…' plugin (https://github.com/jk1/Gradle-License-Report) to get dependency licenses and removed (outdated) THIRD-PARTY.txt and licenses folder. Added instruction file (dependency-licenses.txt) on how to create the license report. Updated year in ModelPolisher license which still was 2015 (!). Further removed BuildSBMLFix, as this was outdated and not used anymore and contributor notes, as these were still based on a pre-2.0 version.
…eneReactionRules do not work currently. Notes are currently dumped as XMLString, which needs to be changed. getJSON{Gene,Metabolite,Reaction} methods need further testing
Copy link
Member

@draeger draeger left a comment

Choose a reason for hiding this comment

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

Thank you for all your hard work!

@draeger draeger merged commit 113b467 into master Oct 13, 2024
3 checks passed
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.

3 participants