Skip to content

Commit 15778d0

Browse files
Merge pull request #172 from matthiaskoenig/develop
Latest changes develop
2 parents 6722c12 + 83073fe commit 15778d0

File tree

1,193 files changed

+256975
-290332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,193 files changed

+256975
-290332
lines changed

.github/ISSUE_TEMPLATE/01-bug-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Create a [minimal, complete, verifiable example](https://stackoverflow.com/help/
3737
<!-- Run the following code and paste the output between the ``` tickmarks below
3838
inside the details block.
3939
40-
python -c "import sbmlsim;sbmlsim.show_versions()"
40+
depinfo sbmlsim
4141
4242
-->
4343

.github/workflows/main.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
name: CI-CD
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
- develop
8-
tags:
9-
- '[0-9]+.[0-9]+.[0-9]+'
10-
- '[0-9]+.[0-9]+.[0-9]+a[0-9]+'
11-
pull_request:
12-
branches:
13-
- master
14-
- develop
3+
on: [push]
154

165
jobs:
17-
test:
6+
tests:
187
runs-on: ${{ matrix.os }}
198
strategy:
209
fail-fast: false
2110
matrix:
2211
os: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
23-
python-version: [3.7, 3.8]
12+
python-version: [3.8, 3.9]
2413

2514
steps:
2615
- uses: actions/checkout@v2
@@ -40,14 +29,13 @@ jobs:
4029
run: bash <(curl -s https://codecov.io/bash)
4130

4231
release:
43-
needs: test
32+
needs: tests
4433
if: startsWith(github.ref, 'refs/tags')
4534
runs-on: ${{ matrix.os }}
4635
strategy:
4736
matrix:
4837
os: [ubuntu-latest]
49-
python-version: [3.7]
50-
38+
python-version: [3.9]
5139
steps:
5240
- uses: actions/checkout@v2
5341
- name: Set up Python ${{ matrix.python-version }}
@@ -81,3 +69,11 @@ jobs:
8169
body_path: "release-notes/${{ steps.tag.outputs.version }}.md"
8270
draft: false
8371
prerelease: false
72+
- name: Send release tweet
73+
uses: ethomson/send-tweet-action@v1
74+
with:
75+
status: "New ${{ github.event.repository.name }} release ${{ steps.tag.outputs.version }}! https://github.com/matthiaskoenig/sbmlsim/releases/tag/${{ steps.tag.outputs.version }} #python #SBML #release"
76+
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
77+
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
78+
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
79+
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

.gitignore

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
.vscode
2+
workspace.code-workspace
3+
14
.idea
5+
.vscode
6+
workspace.code-workspace
7+
28
dist
39
build
410
sbmlsim.egg-info
@@ -12,6 +18,7 @@ coverage.xml
1218
*.pyc
1319
*~
1420
__pycache__
21+
src/sbmlsim/comparison/results/amici/
1522

1623
# cached model state
1724
*.xml.dat
@@ -22,8 +29,20 @@ __pycache__
2229

2330
# documentation
2431
docs_builder/_build/
25-
32+
src/sbmlsim/examples/experiments/covid/results/
2633
src/sbmlsim/examples/experiments/glucose/results/DoseResponseExperiment/DoseResponseExperiment_fig1.svg
2734
src/sbmlsim/examples/experiments/repressilator/RepressilatorExperiment/RepressilatorExperiment_task_tc.h5
2835
src/sbmlsim/examples/experiments/midazolam/results/
2936
src/sbmlsim/examples/experiments/midazolam/results_fit/
37+
38+
# sedml
39+
src/sbmlsim/combine/examples/results/
40+
src/sbmlsim/examples/experiments/repressilator/results/
41+
src/sbmlsim/examples/experiments/covid/results/
42+
src/sbmlsim/examples/experiments/covid/omex/results/
43+
src/sbmlsim/examples/experiments/midazolam/results/
44+
45+
src/sbmlsim/combine/results
46+
src/sbmlsim/combine/examples/l1v4/sbmlsim/
47+
48+
src/sbmlsim/comparison/amicitesting/icg_sd/

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ formats: []
1818

1919
# Optionally set the version of Python and requirements required to build your docs
2020
python:
21-
version: 3.7
21+
version: 3.8
2222
install:
2323
- requirements: docs_builder/requirements-docs.txt
2424
- method: pip

.zenodo.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"upload_type": "software",
3+
"title": "sbmlsim: SBML simulation made easy",
4+
"creators": [
5+
{
6+
"orcid": "0000-0003-1725-179X",
7+
"affiliation": "Humboldt-University Berlin, Institute for Theoretical Biology, Berlin",
8+
"name": "König, Matthias"
9+
}
10+
],
11+
"description": "<p><code>sbmlsim</code> is a collection of python utilities to simplify simulations with <a href=\"http://www.sbml.org\">SBML</a> models implemented on top of <code><a href=\"http://libroadrunner.org/\">roadrunner</a></code> and other libraries with source code available from <a href=\"https://github.com/matthiaskoenig/sbmlsim\">https://github.com/matthiaskoenig/sbmlsim</a></p>\n<p>Features include among others<ul><li>simulation experiments</li><li>simulation reports</a></li><li>parameter fitting</li></ul></p>\n<p>The documentation is available on <a href=\"https://sbmlsim.readthedocs.io\">https://sbmlsim.readthedocs.io</a></p>\n<p>If you have any questions or issues please <a href=\"https://github.com/matthiaskoenig/sbmlsim/issues\">open an issue</a></p>\n<h2>Funding</h2><p>Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (<strong>LiSyM</strong>, grant number 031L0054) and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 <strong><a href=\"https://qualiperf.de\">QuaLiPerF</a></strong> (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach)\" by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA). Matthias König has received funds from the EOSCsecretariat.eu which has received funding from the European Union's Horizon Programme call H2020-INFRAEOSC-05-2018-2019, grant Agreement number 831644.</p>",
12+
"access_right": "open",
13+
"license": "LGPL-3.0",
14+
"keywords": [
15+
"modeling",
16+
"standardization",
17+
"SBML",
18+
"SED-ML",
19+
"COMBINE"
20+
],
21+
"communities": [
22+
{
23+
"identifier": "eoscsecretariat"
24+
}
25+
],
26+
"grants": [
27+
{
28+
"id": "831644"
29+
}
30+
]
31+
}

README.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
.. image:: https://github.com/matthiaskoenig/sbmlsim/raw/develop/docs/images/favicon/sbmlsim-100x100-300dpi.png
2+
:align: left
3+
:alt: pymetadata logo
4+
5+
16
sbmlsim: SBML simulation made easy
27
==================================
38

@@ -34,7 +39,7 @@ sbmlsim: SBML simulation made easy
3439
:alt: Black
3540

3641

37-
sbmlsim is a collection of python utilities to simulate to simplify simulations with
42+
sbmlsim is a collection of python utilities to simplify simulations with
3843
`SBML <http://www.sbml.org>`__ models implemented on top of
3944
`roadrunner <http://libroadrunner.org/>`__. Source code is available from
4045
`https://github.com/matthiaskoenig/sbmlsim <https://github.com/matthiaskoenig/sbmlsim>`__.
@@ -84,7 +89,13 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.
8489
Funding
8590
=======
8691
Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany)
87-
within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054).
92+
within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054)
93+
and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151
94+
"`QuaLiPerF <https://qualiperf.de>`__ (Quantifying Liver Perfusion-Function Relationship in Complex Resection -
95+
A Systems Medicine Approach)" by grant number 436883643 and by grant number
96+
465194077 (Priority Programme SPP 2311, Subproject SimLivA). Matthias König has received funding from the EOSCsecretariat.eu which has received funding
97+
from the European Union's Horizon Programme call H2020-INFRAEOSC-05-2018-2019, grant Agreement number 831644.
98+
8899

89100
Installation
90101
============
@@ -116,4 +127,4 @@ To install for development use::
116127

117128
pip install -e .[development]
118129
119-
© 2019-2020 Matthias König
130+
© 2019-2022 Matthias König

RELEASE.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
# Release information
22

3-
## update documentation
4-
* make necessary updates to notebooks
5-
* build documentation `cd docs_builder` and `./make_docs.sh 2>&1 | tee ./make_docs.log`
63

74
## make release
8-
* sort imports (`isort src/sbmlsim`)
9-
* code formating (`black src/sbmlsim`)
10-
* make sure all tests run (`tox`)
5+
* make sure all tests run (`tox -p`)
116
* update release notes in `release-notes`
12-
* bump version (`bumpversion patch` or `bumpversion` minor)
7+
* bump version (`bumpversion patch` or `bumpversion minor` or `bumpversion major`)
138
* `git push --tags` (triggers release)
149
* add release-notes for next version
1510

docs/images/favicon/about.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This favicon was generated using the following graphics from Twitter Twemoji:
2+
3+
- Graphics Title: 1f9ee.svg
4+
- Graphics Author: Copyright 2020 Twitter, Inc and other contributors (https://github.com/twitter/twemoji)
5+
- Graphics Source: https://github.com/twitter/twemoji/blob/master/assets/svg/1f9ee.svg
6+
- Graphics License: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
11.3 KB
Loading
36.1 KB
Loading

0 commit comments

Comments
 (0)