-
Notifications
You must be signed in to change notification settings - Fork 2
Test omex #25
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
Conversation
Preserve tables
…that makes an output dir without handling error parsing
…hod, tweaked omex file a log handling
…dml files based on Stellas function
moving development over from our fork into upstream OpenSourceBrain/SBMLShowcase repo
…_docker.py to github actions
|
@stellaprins looks like the "Test test_suite output regeneration" action is now failing because we have deleted the test above it in the yml and therefore pymetadata module is no longer installed when the test is run. To fix this you could reorder the tests so that the new "test omex file creation" test is above the "Test test_suite output regeneration" test, then pymetadata module should be available. |
…est_suite output regeneration
… for GitHub Actions to be performed successfuly
…s needed for GitHub Actions to be performed successfuly" As this was not the problem. This reverts commit 35d071a.
|
The new "test omex file creation" test still gives a Docker error
There are two Biosimulators warnings
|
|
pymetadat 0.4.0 is probably an old version https://github.com/OpenSourceBrain/SBMLShowcase/actions/runs/9498644739/job/26177817122?pr=25#step:8:15 I reported this bug to the owner and he fixed it so the url generated will be correct if you can get pip to install the latest version of pymetadata matthiaskoenig/pymetadata#50 |
|
i think the thing about the manifest is only a warning and will not cause it to fail by itself |
|
pymetadata 0.4.2 requires python >= 3.8 therefore we cannot test omex creation using this package on python 3.8 without supplying our own workaround for the ": instead of / in url" bug |
|
maybe just skip this one test for v3.8? |
|
@robertvi yes, certainly skip py3.8 if there is a package that doesn't work with it. It's nearing "end of life" anyway https://devguide.python.org/versions/ |
…fixes the problem
|
If we're happy to skip python 3.8 from all the non-omv.yml checks then this should be ready to merge. |
utils/__init__.py
Outdated
|
|
||
| def create_omex(sedml_file, sbml_file): | ||
|
|
||
| def add_xmlns_sbml_attribute_if_missing(sedml_filepath, sbml_filepath): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this method a duplication of the method below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, Rob split up the "add_xmlns_sbml_attribute_if_missing" I created into "add_xmlns_sbml_attribute" and "xmlns_sbml_attribute_missing". I think we can delete "add_xmlns_sbml_attribute_if_missing".
To test whether update to github actions works as expected.