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

Release 0.11.13 #1431

Merged
merged 40 commits into from
Feb 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8d4b5b2
allow loading of existing models in import_petab_problem (#1383)
lcontento Jan 28, 2021
8c440e9
CI: Fix doxygen (#1386)
dweindl Jan 29, 2021
d7392e2
Cleanup Python package building (#1384)
dweindl Jan 29, 2021
3e50a8d
Don't override user-provided compiler/linker flags (#1389)
dweindl Jan 29, 2021
c432a0b
Require CMake>=3.3 for generated models (#1387)
dweindl Jan 29, 2021
f02b08b
Fix PEtab observables for pysb models (#1390)
dweindl Jan 29, 2021
438d8ce
Fix exported CMake config (#1388)
dweindl Jan 30, 2021
3cc42a6
Cleanup: Delete or ignore temporary model files (#1393)
dweindl Jan 30, 2021
4cf9473
Update scripts/downloadAndBuildSwig.sh to swig 4.0.2 (#1394)
dweindl Jan 31, 2021
b94525e
Upgrade to sundials 5.7.0 (#1392)
dweindl Feb 1, 2021
3a05767
Refactor amici::Model - extract ModelDimensions (#1395)
dweindl Feb 1, 2021
161ce20
Fixup Dockerfile (#1398)
dweindl Feb 1, 2021
88ba9bd
account for heaviside functions in expressions (#1382)
Feb 1, 2021
8f7ef5c
Avoid segfault in cvodes CVAdataStore (#1400)
dweindl Feb 2, 2021
8c7aada
Refactor Model: Extract ModelStateDerived (#1399)
dweindl Feb 2, 2021
19d3a06
Unspecified initial states in PEtab conditions table default to SBML …
dilpath Feb 2, 2021
afcb2e2
fix timepoint out of bounds access (#1402)
Feb 3, 2021
bb9706c
Python: Add numpy minimum version requirements (#1403)
dweindl Feb 4, 2021
0a85246
Substitute expressions in event condition expressions (#1404)
dilpath Feb 6, 2021
ff13ea2
Refactor(C++): Extract SimulationParameters from Model and ExpData (#…
dweindl Feb 11, 2021
372c618
Fix Dockerfile: add python3-venv (#1408)
dweindl Feb 11, 2021
e11dd54
Drop Python3.6 support (#1410)
dweindl Feb 11, 2021
40324df
Update BioNetGen to 2.5.2 (#1411)
dweindl Feb 11, 2021
3c9376a
Doc: Update how to cite (#1412)
dweindl Feb 11, 2021
e657f37
SBML test suite: delete model files after test (#1413)
dweindl Feb 12, 2021
dc26399
Move ModelState and ModelDimension classes to separate files (#1416)
dweindl Feb 12, 2021
9f8fbd8
CI: Allow tests on unstable python version to fail (#1414)
dweindl Feb 12, 2021
ec8d8d8
Doc: Add table with AMICI C++/Python/Matlab feature comparison (#1409)
dweindl Feb 16, 2021
fb08ed4
slim exported swig interface (#1425)
Feb 18, 2021
0aa27b6
Fix RData documentation (#1424)
Feb 18, 2021
e93b43b
Fix 1415 (#1426)
Feb 18, 2021
24f563a
Getting started tutorial (#1423)
Feb 18, 2021
7621bec
CI: SBML test suite: show tag summary for passed tests (#1420)
dweindl Feb 18, 2021
aa59766
More flexible state reinitialization / PEtab import reinitialization …
dweindl Feb 18, 2021
8610931
Doc: Add list of supported SBML test tags (#1428)
dweindl Feb 18, 2021
5d352d5
pysb benchmark (#1427)
Feb 18, 2021
da63aa2
Doc: add warning on funny BNG compartment handling (#1429)
dweindl Feb 19, 2021
cf1e8bd
Bump version number (0.11.13)
dweindl Feb 19, 2021
99ac192
CI: Update valgrind python suppressions
dweindl Feb 19, 2021
f7311cf
CI: Update valgrind python suppressions
dweindl Feb 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions .github/workflows/test_benchmark_collection_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
sudo apt-get update \
&& sudo apt-get install -y swig libatlas-base-dev

- name: pip
run: |
pip3 install --upgrade --user wheel \
&& pip3 install --upgrade --user setuptools
- run: pip3 install pytest shyaml

- run: echo "${HOME}/.local/bin/" >> $GITHUB_PATH
Expand All @@ -40,7 +36,7 @@ jobs:
# install AMICI
- name: Create AMICI sdist
run: |
cd python/sdist && /usr/bin/python3 setup.py sdist
pip3 install build && cd python/sdist && python3 -m build --sdist
- name: Install AMICI sdist
run: |
AMICI_PARALLEL_COMPILE=2 pip3 install -v --user \
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- run: git fetch --prune --unshallow

- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-4.0.1/install/bin/swig" >> $GITHUB_ENV
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-4.0.2/install/bin/swig" >> $GITHUB_ENV

- name: Build doxygen
run: |
Expand All @@ -74,10 +74,6 @@ jobs:
run: |
sudo scripts/downloadAndBuildSwig.sh

- name: pip
run: |
pip3 install setuptools

- name: sphinx
run: |
scripts/run-sphinx.sh
4 changes: 0 additions & 4 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ jobs:
run: |
scripts/buildCpputest.sh

- name: pip
run: |
pip3 install numpy

- name: Build AMICI
run: |
scripts/buildAmici.sh
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
run: |
sudo apt-get update \
&& sudo apt-get install -y swig libatlas-base-dev
- name: pip
run: |
pip3 install --upgrade --user wheel \
&& pip3 install --upgrade --user setuptools
- run: pip3 install petab shyaml

- run: echo "${HOME}/.local/bin/" >> $GITHUB_PATH
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test_petab_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
libatlas-base-dev \
python3-venv

- name: pip
run: |
pip3 install --upgrade --user wheel \
&& pip3 install --upgrade --user setuptools
- run: pip3 install pytest shyaml pytest-cov pysb petab

- name: Build BNGL
Expand All @@ -48,7 +44,7 @@ jobs:
- run: |
echo "${HOME}/.local/bin/" >> $GITHUB_PATH
echo "${GITHUB_WORKSPACE}/tests/performance/" >> $GITHUB_PATH
echo "BNGPATH=${GITHUB_WORKSPACE}/ThirdParty/BioNetGen-2.3.2" >> $GITHUB_ENV
echo "BNGPATH=${GITHUB_WORKSPACE}/ThirdParty/BioNetGen-2.5.2" >> $GITHUB_ENV

# install AMICI
- name: Install python package
Expand All @@ -58,7 +54,7 @@ jobs:
# retrieve test models
- name: Download and install PEtab test suite
run: |
git clone --depth 1 --branch pysb https://github.com/FFroehlich/petab_test_suite \
git clone --depth 1 --branch develop https://github.com/PEtab-dev/petab_test_suite \
&& source ./build/venv/bin/activate \
&& cd petab_test_suite && pip3 install -e . && cd ..

Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/test_python_cplusplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: git fetch --prune --unshallow

- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- run: echo "BNGPATH=${GITHUB_WORKSPACE}/ThirdParty/BioNetGen-2.3.2" >> $GITHUB_ENV
- run: echo "BNGPATH=${GITHUB_WORKSPACE}/ThirdParty/BioNetGen-2.5.2" >> $GITHUB_ENV

# sonar cloud
- run: echo "SONAR_SCANNER_VERSION=4.5.0.2216" >> $GITHUB_ENV
Expand Down Expand Up @@ -85,10 +85,18 @@ jobs:
--cov-report=xml:"${AMICI_DIR}/build/coverage_py.xml" \
--cov-append \
${AMICI_DIR}/python/tests

- name: example notebooks
run: |
scripts/runNotebook.sh python/examples/example_*/

- name: doc notebooks
run: |
scripts/runNotebook.sh documentation/GettingStarted.ipynb

- name: Codecov Python
uses: codecov/codecov-action@v1
with:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./build/coverage_py.xml
flags: python
Expand Down Expand Up @@ -130,7 +138,7 @@ jobs:
- run: git fetch --prune --unshallow

- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- run: echo "BNGPATH=${AMICI_DIR}/ThirdParty/BioNetGen-2.3.2" >> $GITHUB_ENV
- run: echo "BNGPATH=${AMICI_DIR}/ThirdParty/BioNetGen-2.5.2" >> $GITHUB_ENV

# install amici dependencies
- name: homebrew
Expand Down
21 changes: 9 additions & 12 deletions .github/workflows/test_python_ver_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,23 @@ jobs:
name: Python Version Matrix

runs-on: ubuntu-20.04

continue-on-error: ${{ matrix.experimental }}
env:
AMICI_SKIP_CMAKE_TESTS: "TRUE"

strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
experimental: [false]
# Temporarily disabled because the respective jobs somehow runs infinitely
# include:
# - python-version: 3.10.0-alpha.5
# experimental: true

steps:
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- run: echo "BNGPATH=${AMICI_DIR}/ThirdParty/BioNetGen-2.3.2" >> $GITHUB_ENV
- run: echo "BNGPATH=${AMICI_DIR}/ThirdParty/BioNetGen-2.5.2" >> $GITHUB_ENV

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -45,11 +51,6 @@ jobs:
libatlas-base-dev \
libhdf5-serial-dev \
libboost-math-dev
- name: pip
run: |
pip3 install --upgrade --user wheel \
&& pip3 install --upgrade --user setuptools


# install AMICI
- name: Build BNGL
Expand All @@ -65,7 +66,3 @@ jobs:
&& pip3 install pytest \
&& pip3 install git+https://github.com/pysb/pysb \
&& python3 -m pytest --ignore-glob=*petab* ${AMICI_DIR}/python/tests

- name: notebooks
run: |
scripts/runNotebook.sh python/examples/example_*/
2 changes: 1 addition & 1 deletion .github/workflows/test_sbml_semantic_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: apt
run: |
sudo apt-get update \
&& sudo apt-get install -y swig3.0 libatlas-base-dev
&& sudo apt-get install -y swig4.0 libatlas-base-dev
- run: AMICI_PARALLEL_COMPILE=2 ./scripts/installAmiciSource.sh
- run: AMICI_PARALLEL_COMPILE=2 ./scripts/run-SBMLTestsuite.sh

Expand Down
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,15 @@ set(AMICI_SRC_LIST
${CMAKE_SOURCE_DIR}/src/rdata.cpp
${CMAKE_SOURCE_DIR}/src/edata.cpp
${CMAKE_SOURCE_DIR}/src/exception.cpp

${CMAKE_SOURCE_DIR}/src/simulation_parameters.cpp
${CMAKE_SOURCE_DIR}/src/spline.cpp
${CMAKE_SOURCE_DIR}/src/solver.cpp
${CMAKE_SOURCE_DIR}/src/solver_cvodes.cpp
${CMAKE_SOURCE_DIR}/src/solver_idas.cpp
${CMAKE_SOURCE_DIR}/src/model.cpp
${CMAKE_SOURCE_DIR}/src/model_ode.cpp
${CMAKE_SOURCE_DIR}/src/model_dae.cpp
${CMAKE_SOURCE_DIR}/src/model_state.cpp
${CMAKE_SOURCE_DIR}/src/newton_solver.cpp
${CMAKE_SOURCE_DIR}/src/forwardproblem.cpp
${CMAKE_SOURCE_DIR}/src/steadystateproblem.cpp
Expand Down Expand Up @@ -230,12 +231,13 @@ install(TARGETS ${PROJECT_NAME} EXPORT AmiciTargets
export(EXPORT AmiciTargets FILE AmiciTargets.cmake
NAMESPACE Upstream::
)
configure_file(cmake/AmiciConfig.cmake
"${CMAKE_CURRENT_BINARY_DIR}/AmiciConfig.cmake"
@ONLY
)
include(CMakePackageConfigHelpers)
include(version)
configure_package_config_file(
cmake/AmiciConfig.cmake
"${CMAKE_CURRENT_BINARY_DIR}/AmiciConfig.cmake"
INSTALL_DESTINATION "${LIB_INSTALL_DIR}/cmake/"
)
write_basic_package_version_file(AmiciConfigVersion.cmake COMPATIBILITY ExactVersion)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/AmiciConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/AmiciTargets.cmake
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ To install AMICI, first read the installation instructions for
[Matlab](https://amici.readthedocs.io/en/develop/matlab_installation.html).

To get you started with Python-AMICI, the best way might be checking out this
[Jupyter notebook](https://github.com/AMICI-dev/AMICI/blob/master/python/examples/example_steadystate/ExampleSteadystate.ipynb).
[Jupyter notebook](https://github.com/AMICI-dev/AMICI/blob/master/documentation/GettingStarted.ipynb).

To get started with Matlab-AMICI, various examples are available
in [matlab/examples/](https://github.com/AMICI-dev/AMICI/tree/master/matlab/examples).
Expand Down
Loading