-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature check sbml success #118
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
48ff99b
fix notebooks
ecfc621
add tests if SBML parts were created succesfully
515d5bb
change to libsbml.LIBSBML_OPERATION_SUCCESS
0f3c7cb
fix yanniks remarks
7ba4ad1
Merge branch 'develop' into feature_check_SBML_success
jvanhoefer d029510
try fixing hdf5
dilpath 1cc2f99
try without hdf5
dilpath 4bb3b01
try ubuntu 18.04
dilpath 4f23c63
try ubuntu-latest again
yannikschaelte c8e38bd
simplify build
yannikschaelte 291728b
test cache
yannikschaelte 82ecfbe
make build windows-compatible
yannikschaelte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Check out repository | ||
|
This file contains 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
117 changes: 117 additions & 0 deletions
117
tests/test_yaml2sbml/ode_input_invalid_SBML_identifier.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
time: | ||
variable: t | ||
|
||
parametersR: | ||
|
||
- parameterId: c1 | ||
nominalValue: 1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
- parameterId: Shalve | ||
nominalValue: 0.1 | ||
|
||
parameterScale: log10 | ||
lowerBound: 0.1 | ||
upperBound: 10 | ||
estimaete: 1 | ||
|
||
- parameterId: Vh | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 50 | ||
estimate: 0 | ||
|
||
- parameterId: h | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
- parameterId: Vmm | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
- parameterId: Km | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
- parameterId: v1 | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
- parameterId: k4 | ||
nominalValue: 0.1 | ||
|
||
parameterScale: lin | ||
lowerBound: 0 | ||
upperBound: 10 | ||
estimate: 0 | ||
|
||
|
||
functions: | ||
- functionId: hill | ||
arguments: V, s, Shalve, h | ||
formula: V * (s/Shalve)^h / (1 + (s/Shalve)^h ) | ||
|
||
- functionId: MM | ||
arguments: V, s, Km | ||
formula: V*s / (Km + s) | ||
|
||
|
||
odes: | ||
- stateId: S1 | ||
rightHandSide: v1 - MM(S1, Vmm, Km)*c1^2 | ||
initialValue: 0.1 | ||
|
||
- stateId: S2 | ||
rightHaandSide: MM(S1, Vmm, Km) - hill(S2, Shalve, Vh, h) | ||
initialValue: 1 | ||
|
||
- stateId: S3 | ||
rightHandSide: hill(S2, Shalve, Vh, h) - k4*S3 + log10(c1) | ||
initialValue: 1 | ||
|
||
|
||
observables: | ||
- observableId: Obs_1 | ||
observableFormula: S1 + S2 | ||
|
||
noiseFormula: noiseParameter1 | ||
noiseDistribution: normal | ||
|
||
- observableId: Obs_2 | ||
observableFormula: s * S3 | ||
|
||
noiseFormula: noiseParameter1 | ||
noiseDistribution: normal | ||
|
||
|
||
conditions2: | ||
|
||
- conditionId: condition1 | ||
conditionName: condition1 | ||
S1: 42 | ||
Km: 3.14 | ||
|
||
|
||
|
This file contains 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
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.
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.
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.
would also work, matter of style I guess
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.
I think I once had a style checker complain about this :D So slightly in favor of leaving it consistent :)