-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from ICB-DCM/release_v0.10.14
Release v0.10.14 Python: * Don't require use of ModelPtr.get to call ExpData(Model) * Fix import in generated model Python package * Setup AMICI standalone scripts as setuptools entrypoints * Simplify symbolic sensitivity expressions during Python SBML import Fixes Infs in the Jacobian when using Hill-functions with states of 0.0. * Extended Newton solver #848 The changes that allow performing Newton tests from the paper: G. T. Lines, Ł. Paszkowski, L. Schmiester, D. Weindl, P. Stapor, and J. Hasenauer. Efficient computation of steady states in large-scale ODE models of biochemical reaction networks. accepted for Proceedings of the 8th IFAC Conference on Foundations of Systems Biology in Engineering (FOSBE), Valencia, Spain, October 2019. * Use SWIG>=4.0 on travis to include PyDoc in sdist / pypi package (#841) * **Fix choice of likelihood formula; failed if observable names were not equal to observable IDs** * Fix(sbml-import) Compartment IDs in right-hand side of Rules are not replaced and lead to undefined identifiers in c++ files * Fix invalid logging level * Speed up sympy simplification (#871) C++: * Performance: Avoid unnecessary repeated function calls for SUNMatrixWrapper dimensions * Add AmiciApplication class as context for handling so far global settings. This allows for example setting custom logging functions for concurrent AMICI runs, e.g. in multi-thread applications (Closes #576). Misc: * Setup performance test on github actions (#853) * Update documentation and FAQ for CBLAS requirement and others * Update reference list
- Loading branch information
Showing
75 changed files
with
1,035 additions
and
384 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
branches: | ||
- develop | ||
- master | ||
- test_action | ||
pull_request: | ||
branches: | ||
- master | ||
|
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,75 @@ | ||
name: Performance test | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
- fix_862_powsimp | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
# install dependencies | ||
- name: apt | ||
run: | | ||
sudo apt-get install -y swig3.0 libatlas-base-dev \ | ||
&& sudo ln -s /usr/bin/swig3.0 /usr/bin/swig | ||
- name: pip | ||
run: | | ||
pip3 install --upgrade --user wheel \ | ||
&& pip3 install --upgrade --user setuptools | ||
- run: pip3 install petab shyaml | ||
- run: | | ||
echo ::add-path::${HOME}/.local/bin/ | ||
echo ::add-path::${GITHUB_WORKSPACE}/tests/performance/ | ||
# install AMICI | ||
- name: Create AMICI sdist | ||
run: | | ||
cd python/sdist \ | ||
&& check_time.sh create_sdist /usr/bin/python3 setup.py sdist | ||
- name: Install AMICI sdist | ||
run: | | ||
AMICI_PARALLEL_COMPILE=2 check_time.sh \ | ||
install_sdist pip3 install -v --user \ | ||
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1) | ||
# retrieve test model | ||
- run: git clone --depth 1 https://github.com/ICB-DCM/CS_Signalling_ERBB_RAS_AKT | ||
|
||
# import test model | ||
- name: Import test model | ||
run: | | ||
cd CS_Signalling_ERBB_RAS_AKT \ | ||
&& check_time.sh \ | ||
petab_import amici_import_petab.py -v \ | ||
-s 'PEtab/CS_Signalling_ERBB_RAS_AKT_petab.xml' \ | ||
-c 'PEtab/conditions_petab.tsv' \ | ||
-m 'PEtab/measurements_petab.tsv' \ | ||
-p 'PEtab/parameters_petab.tsv' --no-compile | ||
# install model package | ||
- name: Install test model | ||
run: | | ||
check_time.sh install_model \ | ||
python3 CS_Signalling_ERBB_RAS_AKT/CS_Signalling_ERBB_RAS_AKT_petab/setup.py install --user | ||
# run simulations | ||
- name: forward_simulation | ||
run: | | ||
check_time.sh forward_simulation tests/performance/test.py forward_simulation | ||
- name: forward_sensitivities | ||
run: | | ||
check_time.sh forward_sensitivities tests/performance/test.py forward_sensitivities | ||
- name: adjoint_sensitivities | ||
run: | | ||
check_time.sh adjoint_sensitivities tests/performance/test.py adjoint_sensitivities |
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
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
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
Oops, something went wrong.