Features
-
SBML import now supports
rateOf
by @dweindl in AMICI-dev#2120 -
Added
Model.{get,set}SteadyStateComputationMode
(analogous toSteadyStateSensitivityMode
) which allows to choose how steady state is computed. by @plakrisenko in AMICI-dev#2074Note: The default
SteadyStateSensitivityMode
changed fromnewtonOnly
tointegrateIfNewtonFails
. -
SBML import: Allow hardcoding of numerical values by @dweindl in AMICI-dev#2134
-
Added
antimony2amici
for more convenient antimony import (simplifies working with raw ODEs, see documentation) by @dweindl in AMICI-dev#2142 -
Added
AMICI_TRY_ENABLE_HDF5
environment variable to control whether to search for HDF5 or not by @dweindl in AMICI-dev#2148
Fixes
- Fixed SBML import for events with trigger functions depending on parameters that are initial assignment targets by @dweindl in AMICI-dev#2145
- Fixed SBML import for event-assigned parameters with non-float initial assignments by @dweindl in AMICI-dev#2156
- Fixed
unistd.h
dependency ofhdf5.cpp
that led to compilation failures on Windows by @dweindl in AMICI-dev#2154 - Set CMake policies for cmake 3.27 by @dweindl in AMICI-dev#2162
- Fixed a
lib/
vslib64/
issue, leading toSUNDIALSConfig.cmake
-not-found issues on some systems by @dweindl in AMICI-dev#2165 - CMake: fixed scope of
-DHAS_BOOST_CHRONO
which may have lead to a mix ofboost::chrono::thread_clock
andstd::clock
being used in programs using amici, and potentially segmentation faults by @dweindl in AMICI-dev#2163
Performance:
-
Combined code for sparse model functions and their index files for slightly faster compilation of small models by @dweindl in AMICI-dev#2159
-
Removed complex / complex long KLU functions for slightly faster amici package installation by @dweindl in AMICI-dev#2160
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.18.1...v0.19.0
Fixes:
- Fixed pysb pattern matching during PEtab import by @FFroehlich in AMICI-dev#2118
- Fixed
sp.Matrix
errors withnumpy==1.25
by @dweindl in AMICI-dev#2124 - Readme: added info containers by @dweindl in AMICI-dev#2125
- Fixed deprecation warnings by @dweindl in AMICI-dev#2122 AMICI-dev#2131
- Fixed logging typo in SBML import by @dilpath in AMICI-dev#2126
- Added minimum version for
pandas
by @dilpath in AMICI-dev#2129
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.18.0...v0.18.1
Features:
- More efficient handling of splines in SBML models by @paulstapor, @lcontento, @dweindl in AMICI-dev#1515
- Partial support of current PEtab2.0 draft, including support for PySB models by @dweindl, @FFroehlich in AMICI-dev#1800
Fixes:
- Fixed incorrect forward sensitivities for models with events with state-dependent trigger functions by @dweindl in AMICI-dev#2084
- Model import: Don't create spl.h and sspl.h for models without splines by @dweindl in AMICI-dev#2088
- SBML import - faster processing of SpeciesReference IDs by @dweindl in AMICI-dev#2094
- Update swig ignores by @FFroehlich in AMICI-dev#2098
- CMake: Fixed choosing SWIG via
SWIG
env variable by @dweindl in AMICI-dev#2100 - CMake: Try FindBLAS if no other information was provided by @dweindl in AMICI-dev#2104
- Fixed cblas error for models without solver states in combination with forward sensitivities by @dweindl in AMICI-dev#2108
- Fixed compilation error for models with events and xdot=0 by @dweindl in AMICI-dev#2111
- Fixed import error for models with events and 0 states by @dweindl in AMICI-dev#2112
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.17.1...v0.18.0
This release fixes two bugs:
- One bug introduced in v0.17.0, that causes an
ImportError
on macOS (AMICI-dev#2075). - An AttributeError in petab_import_pysb with petab>=0.2.0 AMICI-dev#2079
AMICI v0.17.0 requires Python>=3.9 and a C++17 compatible compiler
Features
- DAE support in SBML by @FFroehlich in AMICI-dev#2017
- SBML import: flatten SBML-comp models by @dweindl in AMICI-dev#2063
- Added sllh computation back to
petab_objective.simulate_petab
by @dilpath in AMICI-dev#1548 - CMake-based Python extension builds by @dweindl in AMICI-dev#1992
Fixes
- Fixed CPU time tracking with multi-threading (partially) by @dweindl in AMICI-dev#2023
- Fixed HDF5 ambiguous overload by @dweindl in AMICI-dev#2031
- Fixed varying cmake libdir lib(64)/ by @dweindl in AMICI-dev#2033
- Fixed Equilibration cpu time computation by @plakrisenko in AMICI-dev#2035
- CMake: add header files to library sources for generated models by @dweindl in AMICI-dev#2047
- CMake: Handle header-dependency of swig files by @dweindl in AMICI-dev#2046
- Don't try to detect conservation laws for models with Species-AssignmentRules by @dweindl in AMICI-dev#2056
- Smith benchmark and SBML initialization fix by @FFroehlich in AMICI-dev#2034
- SBML import: Fixed check for required packages by @dweindl in AMICI-dev#2064
- Nan observables by @FFroehlich in AMICI-dev#2065
- Fixed check for discontinuities for conservation law computation by @dweindl in AMICI-dev#2068
- Specify visualization dependencies by @dweindl in AMICI-dev#2070
- Fixed sympy symbol name clashes during PEtab import by @dweindl in AMICI-dev#2069
- Fixed ReturnData::{preeq_wrms,posteq_wrms} with FSA and check_sensi_steadystate_conv_=True by @dweindl in AMICI-dev#2071
Extended / updated documentation, for example:
- Jax example notebook by @FFroehlich in AMICI-dev#1996
- Updated Windows/MSVC installation instructions by @Podde1 in AMICI-dev#2053
New Contributors
- @Podde1 made their first contribution in AMICI-dev#2053
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.16.1...v0.17.0
Fixes:
- Additional package names for finding blas via pkg-config by @dweindl in AMICI-dev#1959
- Changed default interpolation type from hermite to polynomial by @dweindl in AMICI-dev#1960
- PySB import: Change default simplify to work with multiprocessing by @dweindl in AMICI-dev#1961
- Add --no-validate to amici_import_petab @dweindl in AMICI-dev#1963
- Fix get_model for direct import of swig interface by @dweindl in AMICI-dev#1969
- Fix PytestReturnNotNoneWarning in test_conserved_quantities_demartino.py by @dweindl in AMICI-dev#1968
- Fix MSVC builds / remove -W* flags by @dweindl in AMICI-dev#1972
- Add option to use IDs when plotting trajectories by @dweindl in AMICI-dev#1974
- Fix assignmentRules2observables - skip non-assignment-rule targets by @dweindl in AMICI-dev#1973
- Use std::clock for measuring solver time by @dweindl in AMICI-dev#1982 (Note that this uses cpu-time consumed by all threads)
- Fix narrowing-conversion-warning by @dweindl in AMICI-dev#1983
- PEtab import: allow specifying default values for output parameters by @dweindl in AMICI-dev#1987
- Print stacktraces only with debug logging level by @dweindl in AMICI-dev#1985
- Change default ReturnData::status to AMICI_NOT_RUN by @dweindl in AMICI-dev#1984
- Reduce time-tracking overhead by @dweindl in AMICI-dev#1988
- Fix equilibraton status discrepancy by @plakrisenko in AMICI-dev#1991
- Pass model_name to _create_model_output_dir_name by @FFroehlich in AMICI-dev#1994
- CMake: Build with OpenMP support if available by @dweindl in AMICI-dev#2000
- Fix SuiteSparse Makefiles for compiler-paths by @dweindl in AMICI-dev#2003
- CMake: Build with HDF5 support if available by @dweindl in AMICI-dev#1999
- CMake: Fix reading version file on Windows by @dweindl in AMICI-dev#2001
- CMake: raise minimum required version to 3.15 by @dweindl in AMICI-dev#2002
- Fix/extend runtime logging by @FFroehlich in AMICI-dev#2005
- Fix error logging in steadystate solver by @FFroehlich in AMICI-dev#2008
- Don't pass
-py3
to swig after 4.1.0 by @FFroehlich in AMICI-dev#2010 - SWIG __repr__s for different templated vector classes by @FFroehlich in AMICI-dev#2009
- Matlab: If mex fails, print mex arguments by @dweindl in AMICI-dev#2013
- Simplify OpenBLAS installation on Windows by @dweindl in AMICI-dev#2016
- Remove model name prefix in generated model files by @dweindl in AMICI-dev#2015
- ...
Documentation:
- Restructure sphinx doc by @dweindl in AMICI-dev#1978
- Instructions for AMICI with singularity by @dweindl in AMICI-dev#1964
- Illustrate options for potentially speeding up model import/simulation by @dweindl in AMICI-dev#1965
- ...
Dependencies:
- Updated SuiteSparse to v7.0.1 by @dweindl in AMICI-dev#2018
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.16.0...v0.16.1
Features
- Python 3.11 compatibility by @dweindl in AMICI-dev#1876
- AMICI now runs on binder (https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=binder%2Foverview.ipynb) by @dweindl in AMICI-dev#1935, AMICI-dev#1937, AMICI-dev#1939
- More informative
Solver.__repr__
andExpData.__repr__
by @dweindl in AMICI-dev#1928 and @FFroehlich in AMICI-dev#1948 simulate_petab
returns the generated/usedExpData
s by @dweindl in AMICI-dev#1933- Model module is now accessible from model instance by @dweindl in AMICI-dev#1932
- Added
plot_jacobian
by @dweindl in AMICI-dev#1930 - Now logs all nested execution times as debug by @FFroehlich in AMICI-dev#1947
- Always check for finite initial states, not only with
Model.setAlwaysCheckFinite(True)
by @dweindl in AMICI-dev#1955
Fixes
ReturnDataView.status
now returnsint
instead offloat
by @dweindl in AMICI-dev#1929- Updated simulation status codes by @dweindl in AMICI-dev#1931
- Skip irrelevant frames in stacktraces by @dweindl in AMICI-dev#1934
- Fixed compiler warning (matlab) by @dweindl in AMICI-dev#1954
Documentation:
- Added a notebook demonstrating common simulation failures and show how to analyze / fix them by @dweindl in AMICI-dev#1946
- various minor fixes / updates
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.15.0...v0.16.0
Features
-
Improved logging by @dweindl in AMICI-dev#1907
For Python: Don't print messages to stdout, but collect them in ReturnData and forward them to python logging, making it easier to filter specific messages or to disable output completely. Messages are also available via
ReturnData.messages
.breaking change for C++ interface: Messages aren't printed to stdout by default, but are collected in
ReturnData
. The user has to decide what to do with them. -
MultiArch docker build by @FFroehlich in AMICI-dev#1903
-
Added cmake target for cmake-format by @dweindl in AMICI-dev#1909
-
Updated clang-format style, fixed clang-format target by @dweindl in AMICI-dev#1908
-
Subsetting
ReturnData
fields by ID viaReturnDataView.by_id
by @dweindl in AMICI-dev#1911 AMICI-dev#1916
Fixes
- PEtab import: fixed handling of fixed parameters for rule targets by @dweindl in AMICI-dev#1915
- Fixed compiler warnings for matlab interface by @dweindl in AMICI-dev#1919
- Fixed pandas DeprecationWarning for Series.iteritems() by @dweindl in AMICI-dev#1921
- Fixed circular import in amici.petab_import_pysb by @dweindl in AMICI-dev#1922
- Fixed 'operator ==' swig warning by @dweindl in AMICI-dev#1923
- Prevent swig4.0.1 segfault by @dweindl in AMICI-dev#1924
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.14.0...v0.15.0
-
Added optional functionality to apply C99 math optimization to generated C++ code by @dweindl and @lcontento in AMICI-dev#1377, AMICI-dev#1878
-
Added option to treat fixed parameters as constants in PEtab import
by @dweindl in AMICI-dev#1877
-
Added equality operator for ExpData
by @dweindl in AMICI-dev#1881
-
Updated base image for Dockerfile to Ubuntu 22.04/Python 3.10
by @dweindl in AMICI-dev#1896
-
Fixed deprecation warnings by @dweindl in AMICI-dev#1873, AMICI-dev#1893
-
Fixes/updates to GitHub actions by @dweindl in AMICI-dev#1885, AMICI-dev#1893, AMICI-dev#1889, AMICI-dev#1891
-
Added hdf5 search directories for arm64 architecture (M1/M2 macs)
by @Doresic in AMICI-dev#1894
-
Fixed missing return in generated non-void functions
by @dweindl in AMICI-dev#1892
-
Fixed import failure for pre-compiled models
by @dweindl in AMICI-dev#1897
- Update reference list by @dweindl in AMICI-dev#1874, AMICI-dev#1884
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.13.0...v0.14.0
- Fixed extraction of common subexpressions by @dweindl in AMICI-dev#1865
- Added function to convert
ReturnData::status
flags to string by @dweindl in AMICI-dev#1864
And further contributions by @dweindl, @FFroehlich
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.12.0...v0.13.0
Features:
- Support for event observables via the Python interface by @FFroehlich in AMICI-dev#1845
- Treat non-estimated parameters as constants during SBML-PEtab import by @dweindl in AMICI-dev#1810
- Updated SUNDIALS to v5.8.0 by @dweindl in AMICI-dev#1836
- Option to extract common subexpressions by @dweindl in AMICI-dev#1852, AMICI-dev#1856 not available in this release, use v0.13.0
- Parallelize matrix simplification by @dweindl in AMICI-dev#1778
- Validate PEtab problems before attempting import by @dweindl in AMICI-dev#1842
- Improved type annotations for the swig interface by @dweindl in AMICI-dev#1860
Fixes:
- Fixed an issue with potentially infinite loops during conservation law processing by @FFroehlich in AMICI-dev#1833
- Fixed potential deadlocks during parallel simplification by @dweindl in AMICI-dev#1844
- Fix resetting
ReturnData::numstepsB
when re-using Solver by @dweindl in AMICI-dev#1841
And further contributions by @dilpath, @dweindl, @FFroehlich
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.32...v0.12.0
Fixes:
- Fixed
ImportError
s during package installation with recent setuptools by @dweindl in AMICI-dev#1830
Fixes:
- Fixed
ParameterMapping.__getitem__
to either return aParameterMappingForCondition
or a newParameterMapping
, but not a list by @dweindl in AMICI-dev#1826
Features:
- Allow overriding model name during PySB import by @dweindl in AMICI-dev#1801
- Added repr for parameter mapping classes by @dweindl in AMICI-dev#1799
- More informative warning messages for NaNs/Infs by @dweindl in AMICI-dev#1798
- Moved
sim_steps
increment by @plakrisenko in AMICI-dev#1806 - Re-arranged application of parameters from
ExpData
to avoid initial sensitivities error by @dilpath in AMICI-dev#1805 - Checking for unused parameters in
simulate_petab
by @dweindl in AMICI-dev#1816 - Add
create_parameter_mapping
kwarg forwarding by @dweindl in AMICI-dev#1820
Other
- Remove
constant_species_to_parameters
by @dweindl in AMICI-dev#1809
Fixes
- Fixed handling of SBML models given as
pathlib.Path
in `petab_import.import_model_sbml by @dweindl in AMICI-dev#1808 - Fixed missing CPU time reset by @dweindl in AMICI-dev#1814
- Raise in
simulate_petab
withscaled_parameters=True
problem_parameters=None
by @dweindl in AMICI-dev#1819
...
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.29...v0.11.30
Features:
- Performance: Limit newton step convergence check by @FFroehlich in AMICI-dev#1780
- More informative NaN/Inf warnings by @dweindl in AMICI-dev#1640
- SBML import can now handle initial events by @FFroehlich in AMICI-dev#1789
Fixes:
- Avoid error if no measurements in PEtab problem; fixed type handling in PEtab parameter mapping by @dilpath in AMICI-dev#1783
- Fixed substitution of expressions in root and stau by @dilpath in AMICI-dev#1784
- Workaround for PEtab problems with state-dependent noise models by @dweindl in AMICI-dev#1791
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.28...v0.11.29
New features:
-
Added
Solver.setSteadyStateToleranceFactor
andSolver.setSteadyStateSensiToleranceFactor
to specify a steady state tolerance factor by @dilpath in AMICI-dev#1758NOTE: This also relaxed the default steady state (sensitivity) tolerances by a factor of 100.
-
Added support for
pathlib.Path
by @dweindl in AMICI-dev#1769 -
Allow specifying initial timepoint with
ExpData
by @dilpath in AMICI-dev#1776
Performance:
- Speedup for models with conservation laws by @FFroehlich in AMICI-dev#1765
- Improved efficiency of newton step convergence check by @FFroehlich in AMICI-dev#1775
Fixes:
- Fixed deprecation warning for pandas.DataFrame.append in
rdatas_to_measurement_df
by @dweindl in AMICI-dev#1770 - Fixed Rule-target handling in PEtab import by @dweindl in AMICI-dev#1753
Removed functionality:
- Removed long deprecated
sbml2amici
argumentsmodelName
andconstantParameters
by @dweindl in AMICI-dev#1774
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.27...v0.11.28
New features:
- Checking condition number when computing sensitivities via Newton by @FFroehlich in AMICI-dev#1730
- Removed SPBCG solver by @FFroehlich in AMICI-dev#1729
- Added Newton step convergence checks to steadystate solver by @FFroehlich in AMICI-dev#1737
- Removed legacy options/members
amioption.newton_preeq
and `Solver::r… by @dweindl in AMICI-dev#1744 - Added
ReturnData::cpu_time_total
to track total time spent inrunAmiciSimulation
by @dweindl in AMICI-dev#1743 - SBML import: Alternative algorithm for identifying conservation laws by @dweindl in AMICI-dev#1748
- Use
amici.AmiciVersionError
to indicate version mismatch by @dweindl in AMICI-dev#1764
Performance:
- Optional parallel computation of derivatives during model import by @dweindl in AMICI-dev#1740
- Sparsify jacobian by @FFroehlich in AMICI-dev#1766
- Speedup conservation law computation by @FFroehlich in AMICI-dev#1754
- Exploit stoichiometric matrix in pysb import by @FFroehlich in AMICI-dev#1761
- Speedup edata construction from petab problems by @FFroehlich in AMICI-dev#1746
Fixes:
- Fixed
get_model_settings
that would to setting incorrect initial states and initial state sensitivities for models with parameter-dependent initial states by @dweindl in AMICI-dev#1751 - Use correct tolerances for convergence check in Newton solver by @FFroehlich in AMICI-dev#1728
- Harmonized convergence checks by @FFroehlich in AMICI-dev#1731
- Made sundials' KLU_INDEXTYPE match actual klu index type by @dweindl in AMICI-dev#1733
- Fixed
Model::setStateIsNonNegative
logic that would raise exceptions in cases where it shouldn't by @dweindl in AMICI-dev#1736 - Fixed undefined reference to dladdr by @kristianmeyerr in AMICI-dev#1738
- Fixed HDF5 OSX intermediate group creation errors by @dweindl in AMICI-dev#1741
- Fixed recent cmake-based build issues due to changed sundials library directory by @dweindl in AMICI-dev#1756
- Updated Windows installation instructions by @paulflang in AMICI-dev#1763
... and other contributions by @FFroehlich, @dweindl
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.26...v0.11.27
New features:
- Import of BioNetGenLanguage (BNGL) models by @FFroehlich in AMICI-dev#1709
- Added support for observable-dependent sigmas by @dweindl, @FFroehlich in AMICI-dev#1692
- Added support for pysb local functions by @FFroehlich in AMICI-dev#1666
- Added experimental support for conservation laws for non-constant species to
SBML import: conservation laws for non-constant species
by @stephanmg, @dweindl in AMICI-dev#1669
Enable this feature by setting environment variable
AMICI_EXPERIMENTAL_SBML_NONCONST_CLS
to any value- Allow using states eliminated by conservation laws to be used in root functions by @dweindl in AMICI-dev#1677
- Added support for parameter-dependent conservation laws by @dweindl, @FFroehlich in AMICI-dev#1678
- Added optional caching for symbolic simplifications in ODE export by @dilpath in AMICI-dev#1672
- Added CLI option
--no-sensitivities
toamici_import_petab
by @dweindl in AMICI-dev#1688
Fixes:
- SBML import: Raise in case of nested observables by @dweindl in AMICI-dev#1690
- Sympy 1.10 compatibility by @dweindl in AMICI-dev#1694
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.25...v0.11.26
- Fixed a bug
where
Model::setStateIsNonNegative(Model::getStateIsNonNegative())
would raise an exception in case conservation laws were enabled - by @dweindl in AMICI-dev#1648 - Fixed a bug where
Model::setStateIsNonNegative
would be ignored in certain model expressions - by @FFroehlich in AMICI-dev#1650 - Fixed a bug where special function parsing inside
min()
andmax()
would not be parsed correctly - by @dweindl in AMICI-dev#1655 - Fixed a numpy dependency issues for Mac+ARM systems - by @dweindl in AMICI-dev#1657
- Fixed convergence check in Newton method - by @plakrisenko in AMICI-dev#1663
- Add
AMICI_CXX_OPTIONS
to pass libamici-specific compiler options during CMake-based builds - by @dweindl in AMICI-dev#1664 - Fixed various warnings and updated documentation - by @dweindl
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.24...v0.11.25
Features:
- Introduced environment variable
AMICI_DLL_DIRS
to control DLL directories on Windows (useful for setting BLAS library directory, as required by Python>=3.8) by @dweindl in AMICI-dev#1637 - Dropped Python3.7 support by @dweindl in AMICI-dev#1635
- Include header files in CMake targets for better IDE integration by @dweindl in AMICI-dev#1639
Fixes:
- Fixed an issue in PEtab import where all-integer parameters would previously result in a TypeError by @stephanmg in AMICI-dev#1634
- Fixed tempdir deletion issues for test suite on Windows by @dweindl in AMICI-dev#1636
- Added functions to provide state IDs/names for x_solver by @dweindl in AMICI-dev#1638
- Fixed docs on RTD by @dweindl in AMICI-dev#1643
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.23...v0.11.24
Features:
- Added overload for Model::setParameterScale with vector by @dilpath in AMICI-dev#1614
- Removed assert_fun argument from gradient checking, improve output by @dweindl, @FFroehlich in AMICI-dev#1609
- Added get_expressions_as_dataframe by @dweindl in AMICI-dev#1621
- Added
id
field to ExpData and ReturnData by @dweindl in AMICI-dev#1622 - Included condition id in dataframes by @dweindl in AMICI-dev#1623
Fixes:
- C++: Fixed SUNMatrixWrapper ctor for size 0 matrices by @dweindl in AMICI-dev#1608
- Python: Handle TemporaryDirectory cleanup failures on Windows by @dweindl in AMICI-dev#1617
- Python: pysb.Model.initial_conditions throws a DeprecationWarning by @PaulJonasJost in AMICI-dev#1620
- Fixed wrong array size in warnings by @dweindl in AMICI-dev#1624
NOTE: AMICI 0.11.23 requires numpy<1.22.0
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.22...v0.11.23
- *Require sympy>=1.9,pysb>=1.13.1 by @FFroehlich, @dweindl in AMICI-dev#1599
- Fixed sympy deprecation warning by @dweindl in AMICI-dev#1600
- Updated Windows installation instructions for Python>=3.8 by @dweindl in AMICI-dev#1597
- Fixed plot labels by @dweindl in AMICI-dev#1598
Full Changelog: https://github.com/AMICI-dev/AMICI/compare/v0.11.21...v0.11.22
Fixes:
- Fixed a bug in recursion depth computation for model expressions. This may have resulted in incorrect sensitivities for models with expressions nested more than 2 levels. (#1595)
- Fixed improper handling of Piecewise functions in PySB import which may have produced incorrect simulation results. (#1594)
- Fixed changed googletest reference which broke the CMake-based build if tests were enabled (#1592)
New:
- It's now possible to build AMICI using Ninja (#1593)
New:
- Changed parameter mappings such that unassigned values have non-nan default values. This fixes erroneous evaluation of
llh
asNaN
in some situations (#1574) - Added support for Python 3.10 (#1555)
Fixes:
- Fixed a bug when simulation start time was not transferred when copying a solver instance (#1573)
- Fixed a bug which led to incorrect sensitivies for models with multiple assignment rules or rate rules (#1584)
Other:
- Update CI and documentation settings (#1569, #1527, #1572, #1575, #1579, #1580, #1589, #1581)
- Extend set of validated benchmark models that is checked during CI (#1571, #1577)
- Fixed string formatting in derivative checks (#1585)
- Added helper methods to save and restore model instance-only settings (#1576)
New:
- Added support for observable transformations (lin/log/log10) (#1567). Thereby supporting additional noise distributions in combination with least squares solvers.
Fixes:
- Fixed a bug when Newton sensitivity computation was activated despite specifying newton_steps == 0. The error occurs when simulation converges to a steadystate but simulation sensitivities are not converged according to convergence criteria. In that case simulation returned failure, but the newton rootfinding "finds" a steadystate even before the iteration check, leading to the erroneous computation of sensitivities via Newton/IFT. For singular jacobians this means the overall simulation still fails, but a different, more informative error message is displayed. (#1541)
- Fixed a bug where argument "outdir" in ODEExporter.init would not be used (#1543)
Other:
- Improve checking support for SBML extensions (#1546)
- SBML import: Use more descriptive IDs for flux expressions (#1551)
- Optimized SUNMatrixWrapper functions (#1538)
- C++: Changed test suite from CppUTest to gtest (#1532)
- Add CITATION.cff (#1559)
- Updated documentation (#1563, #1554, #1536)
- Removed distutils dependency (#1557)
- Require sympy<1.9
New:
- Allow specifying maximum integration time via
amici::Solver::setMaxTime()
(#1530) - Py: Add
failfast
andnum_threads
argument tosimulate_petab
(#1528, #1524) - Enable typehints / static type checking for AMICI-generated model modules
(#1514) (
amici.ModelModule
, available with Python>=3.8)
Fixes:
- Python: Fix unused argument
generate_sensitivity_code
inpysb2amici
(#1526) - Python: Fix C(++) stdout redirection which could have let to deadlocks in exotic situations (#1529)
- Py: Fixed deprecation warning (#1525)
- Py: Proper typehints for SWIG interface (#1523), enabling better static type checking and IDE integration (available with Python>=3.9)
- C++: Fixed clang compiler warning (#1521)
- C++: Fix inherited variadic ctor in exception class (#1520)
- PEtab: More informative output for unhandled species overrides (#1519)
- Return SbmlImporter from PEtab model import (#1517)
Fixes:
- Fix "maybe-uninitialized" compiler warning (#1495)
- Fix substitution of expressions in `drootdt_total (#1512)
- C++: Fix serialization and == operator (#1493)
- C++: Avoid
w
inroot
andstau
headers (refactor) (#1503)
Documentation:
- Updated OpenBLAS Windows installation instructions (#1496)
- Updated how-to-cite to Bioinformatics paper (#1499)
- Updated list of papers using AMICI (#1509)
Other:
- Remove sllh computation from
petab_objective.simulate_petab
(#1498) - Add main.py to Python package to provide info on AMICI installation
via
python -m amici
(#1500)
Fixes:
- Fixed serialization bug (#1490)
New:
- Construction of condition specific plist for parameter mappings (#1487, #1488)
- Add support for error residuals (#1489)
Fixes:
- Fixed initial state sensitivities in adjoint preequilibration (#1468)
- Fixed various model import / parameter mapping issues (#1469, #1473, #1475)
New:
- New AMICI releases will automatically trigger releases at https://biosimulators.org/simulators/amici/latest
- Transparent logo
New features:
- Python import now supports SBML Events (#1443)
- Implement support for compilation without sensitivities (#1454)
Fixes:
- Issue #1446: Check whether constant parameters are valid targets (#1450)
- Issue #1422: Fix Steadystate solver failing if preequilibration starts in steadystate (#1461)
- Issue #1401: Ensure diagnostics variables in ReturnData are always of expected length (#1438, #1447)
- Fix FIM approximation for parameter dependent sigma (#1441)
- Fix invalid SBML in PEtab/PySB import (#1433)
- Fix: No context for inspect.getouterframes (#1432)
Documentation:
- Added this CHANGELOG
- Added feature request issue template (#1437)
- Updated reference list (#1430)
- Overhauled experimental conditions notebook (#1460)
CI:
- Test Matlab interface on GHA (#1451)
- Include componentTags in SBML test suite output (#1462)
- Split SBML semantic test suite into multiple jobs (#1452)
- Fix Crauste ref val, fixes #1458 (#1459)
Misc:
- Various cleanup (#1465, #1448, #1455)
- Micro-optimize SUNMatrixWrapper::transpose (#1439)
- Remove constant triggers from roots in Heaviside (#1440)
Breaking changes:
- AMICI requires Python>=3.7
- Updated package installation (PEP517/518): Creating source distributions requires https://github.com/pypa/build (#1384) (but now handles all package building dependencies properly)
Features:
- More flexible state reinitialization (#1417)
Updated dependencies:
- Upgrade to sundials 5.7.0 (#1392)
Fixes:
- Python: account for heaviside functions in expressions (#1382)
- Python: allow loading of existing models in import_petab_problem (#1383)
- Python: Don't override user-provided compiler/linker flags (#1389)
- Python: PEtab import reinitialization fixes (#1417)
- Python: Fix PEtab observables for pysb models (#1390)
- Python: Substitute expressions in event condition expressions (#1404)
- Python: Unspecified initial states in PEtab conditions table default to SBML initial value (#1397)
- C++: Fix timepoint out of bounds access (#1402)
- C++: Fix exported CMake config (#1388)
- Fixed Dockerfile: add python3-venv (#1398, #1408)
Other:
- Slim exported swig interface (#1425)
- Updated documentation
- Getting started tutorial (#1423)
- List supported SBML test tags (#1428)
- Add AMICI C++/Python/Matlab feature comparison (#1409)
- ...
- Various minor CI improvements
- ...
Features:
- Add expression IDs and names to generated models (#1374)
Fixes:
- Raise minimum sympy version to 1.7.1 (Closes #1367)
- Fix species assignment rules in reactions (#1372)
- Fix id vector for DAEs (#1376)
Docs:
- Update how-to-cite (#1378)
- Restore support for species references (#1358)
- Add support for noise models in pysb (#1360)
- Proper handling of discontinuities in the ODE rhs (#1352)
- Fix directly calling AMICI from snakemake (#1348 )
- Extend mathml function support, particularly for numerical arguments (#1357)
- Restore support for sympy 1.6 (#1356)
- Fix some compiler related warnings (#1349, #1362 )
- Fix a rare segfault for adjoint sensitivities (#1351)
- Move windows tests to GHA (#1354)
- Pin breathe to 4.24.1
- Update ubuntu to 20.04
Bugfix release that restores compatibility with sympy 1.7
- General improvements to SBML import (#1312, #1316, #1315, #1322 , #1324 #1333, #1329)
- Small bugfixes and improvements (#1321 )
- Improve derivative computation for instances of
power
(#1320 )
- Fix FIM and residual computation for models with parameter dependent sigma. (#1338)
- Disable chi2/residual/FIM computation for non-gaussian objective functions. (#1338)
- Bugfix for integration failure during adjoint solve (#1327)
- Update references (#1331, #1336)
- Update OpenBLAS for windows (#1334)
- Fix pysb-petab support (#1288)
- Fix ExpData constructor overloading (#1299)
- Fix support for positivity enforcement (#1306)
- Refactor SBML import, adds support for parameter rate rules and initial assignments (#1284, #1296, #1304)
- Improve model generation for models with many parameters (#1300)
- Add support for PEtab based synthetic data generation (#1283)
- Make HDF5 an optional dependency (#1285)
- General Improvements to Documentation (#1289, #1291, #1292, #1293, #1294, #1286, #1277, #1281)
- Add python 3.9 support test (#1282)
- Allow manual triggering of GitHub actions (#1287)
- Remove appveyor config (#1295)
- Update GHA env and path management (#1302)
- Improve and extend available objective functions (#1235)
- Fix processing of compartment definitions (#1223)
- Fix replacement of reserved symbols (#1265)
- Use Hierarchical Derivatives for Expressions (#1224, #1246)
- Fix duplicate running of swig (#1216)
- Overload python interface functions for amici.{Model,Solver,ExpData} and amici.{Model,Solver,ExpData}Ptr (#1271)
- Fix and extend use of sparse matrix operations (#1230, #1240, #1244, #1247, #1271)
- Fix application of maximal number of steps, MaxNumStep parameter now limit total number of steps, not number of steps between output times. (#1267)
- Move all Documentation to RTD (#1229, #1241)
- General Improvements to Documentation (#1225, #1227, #1219, #1228, #1232, #1233, #1234, #1237, #1238, #1239, #1243, #1253, #1255, #1262)
- Better check for doc building (#1226)
- Add more gradient checks (#1213)
- Update GHA to Ubuntu 20.04 (#1268)
- Bugfix for piecewise functions (#1199)
- Refactor swigging - generate one single wrapper (#1213)
- Fix warnings: account for zero indexing in nan/inf error (#1112)
- Update Windows build instructions (#1200, #1202)
- Update README: Projects using AMICI (#1209)
- Add CODE_OF_CONDUCT.md (#1210)
- Update documentation for Python interface (#1208)
- Create sdist on GHA using swig4.0.1 (#1204) (Fixing broken pypi package)
- Fix links after repository move
- Speed-up swig build: disable all languages except python (#1211)
- Fix doc generation on readthedocs (#1196)
- Move repo to new organization (#1193)
- Update Bibliography
- Fix bug for energyPySB models (#1191)
- Fix release deployment (#1189)
- Skip unnecessary expressions in pysb models (#1185)
- MSVC compiler support (this time for real... #1152)
- Implement MSVC tests (#1152)
- Rename and group GitHub actions (#1186)
- Fix release deployment (#1186)
- Fix simplification for pysb models (#1168)
- Pass verbosity flags to pysb network generation (#1173)
- Enable experimental pysb-petab support (#1175)
- Add installation instructions for Fedora (#1177)
- Implement support for SBML rate-references (#1180)
- Refactoring (#1162, #1163)
- Move majority of tests to Github Actions (#1166, #1160)
- Improve reporting of skipped tests in SBML testsuite (#1183)
- Speed up model import, compilation (#1123, #1112)
- Improve/Add steady-state solver documentation (#1102)
- Improve extension import (#1141)
- Bugfixes SBML import (#1135, #1134, #1145, #1154)
- Fixed issue that prevented simplification (#1158)
- Bugfixes (#1121, #1125, #1131, #1132, #1136)
- Enable openMP by default (#1118)
- Improve memoy footprint for simulations with replicates (#1153)
- Improve steady-state solver and add option to to adjoint-steadystate hybrid (#1143, #1099, #1129, #1146)
- Store build artifacts from github actions (#1138)
- Upgrade to sympy 1.6.0, which is now required minimum version (#1098, #1103)
- Speed up model import
- Speed-up computation of sx0, reduce file size (#1109)
- Replace terribly slow sympy.MutableDenseMatrix.is_zero_matrix by custom implementation (#1104)
- speedup dataframe creation in
get*AsDataFrame
(#1088) - Allow caching edatas for simulate_petab (#1106)
- Fix wrong deprecation warning (Fixes #1093)
- Fix segmentation faults in NewtonSolver under certain conditions (#1089, #1090, #1097)
- fix wrong power function call in
unscale_parameter
(#1094) - Fix MathML conversion (#1086)
- Fix deepcopy of SymPy objects (#1091)
- handle empty rdata->{pre|post}eq_numlinsteps (Closes #1113), which previously made the matlab interface unusable
- Fix generation of compileMexFile.m for matlab compilation of python code (#1115)
- Reduce memory requirements and speedup compilation of large models (#1105)
- Place generated code into own namespace (#937) (#1112)
- Fix several msvc compiler warnings (#1116) (Note that MSVC support is still experimental) breaking change for users of C++ interface
- Fix swig warning: ensure base class ContextManager is known before use (Fixes #1092) (#1101)
- Don't install/run valgrind on travis CI (done with github actions… (#1111)
Python:
- Implement support for variable compartments (#1036)
- Better handling of constant species (#1047)
- Better handling of C++ enums, this makes
amici.SensitivityMethod_forward
available asamici.SensitivityMethod.forward
(#1042) - Improve installation routines (#1055, #1056, #1058, #1076)
- Add option to reduce memory usage (#1044)
- Fix handling of symbolic expressions in nested rules (#1081, 1069)
Library:
- Update Sundials to 5.2.0 (#1039)
- Update SuiteSparse to 5.4.0 (#1040)
- Refactor use of ReturnData, now completely created post-hoc (#1002)
- Fix propagation of reinitialization in ExpData constructor (#1041)
- Fix issue where InternalSensitivityParameter was sometimes not set (#1075)
- Fix or disable certain combinations of equilibraition, presimulation and adjoint sensitivity analysis
CI:
- Move from Codacy to Sonarcloud (#1065)
- Run SBML Testsuite when appropriate (#1058)
Library:
- Fix: Handle paths with blanks in build scripts
- Feature: Add function to write amici::Solver settings to HDF5 (#1023)
- Fix: typehints (#1018, #1022)
- Refactor: Move creation of parameter mapping for objective<->simulation to classes (#1020)
CI:
- Refactor: Cleanup and reorganize tests (#1026)
- Fix: benchmark problem test should fail on missing files (Closes #1015)
- Fixed (re)initialization of sensitivities if ExpData::fixedParametersPreequilibration is set (#994)
- Fixed sensitivities for parameters in sigma expressions for Python/SBML in case provided expression was not just a single parameter ID
- Enable parallel compilation of model files from Python (#997) based on AMICI_PARALLEL_COMPILE enviroment variable
- Fixed computation of log-likelihood for log10-normal distributed noise
- Added
reinitializeFixedParameterInitialStates
to ExpData (#1000) (breaking change: overrides settings inamici::Model
) - Python model import now verifies that chosen model name is a valid identifier (Closes #928)
- Made w available in ReturnData (Closes #990) (#992)
- Fixed setting of log level when passing boolean values to verbose (#991)
- Documentation now on ReadTheDocs https://amici.readthedocs.io/en/
- Use proper state/observable names in plotting functions (#979)
- PEtab support:
- Adapt to most recent PEtab (0.1.5)
- Extended support for import of PEtab models
- Added support for computing cost function based on PEtab problem
- Implemented handling of species in condition table
- petab_import.import_model now provides reproducible parameter list (Closes #976)
- Fix python import error in import_petab_problem: Add absolute paths to python path, invalidate caches and reload (#970)
- Added example notebook
- CI: PEtab test suite integrated in CI workflow
- Added AMICI dockerfile and image deployment to dockerhub (#948)
- Removed mention of 'mex' in warning/error ids (#968)
- More informative errors on SWIG interface import failures (#959)
Python:
- Fix logo display on pypi
- Fix deadlocks in multithreaded python environments when using openMP parallelization
Matlab:
- Fix compilation errors due to switch to C++14
General:
- AMICI now comes with a logo
- implement getName function for models
- Updated documentation / examples
Python:
- Enable MSVC compilation of Python extensions (#847)
- Always recompile clibs and extensions (Closes #700)
- Extended PEtab support (Running
- enable multithreading in swig (#938)
- Fixes pysb (#902) (#907)
C++
- Build optimized AMICI and sundials by default (Closes #934)
Matlab:
- Fix(matlab) Compile CalcMD5 on demand (Fixes #914)
- Don't pass empty include strings to mex
- Fix Matlab compilation error if AMICI or model path contains blanks
CI:
- Running additional test models
... and various minor fixes/updates
- added python 3.8 support, dropped python 3.6 support (#898)
- Added logging functionality (#900)
- Fixes PySB import (#879, #902)
- Fixes symbolic processing (#899)
- Improved build scripts (#894,
- Improved petab support (#886, #888, #891)
- CI related fixes (#865, #896)
- Sparsify dwdp to reduce computation time for adjoints (#858)
- Fix(matlab) update example name example_dae_events->example_calvetti (Closes #866)
- Fix nullptr deferencing for simulations with events when no measurements are provided (Fixes #866)
- Fix accessing empty vector during adjoint state event update (Closes #866)
- Fix pysb_import (fixes #878)
Bugfix release due to incorrect sensitivities w.r.t. sigmas introduced in 0.10.14.
No other changes.
NOTE: For Python-imported SBML-models this release may compute incorrect sensitivities w.r.t. sigma. Bug introduced in 0.10.14, fixed in 0.10.15.
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
- BREAKING CHANGE: Renaming {get|set}tNewtonPreequilibration to {get|set}Preequilibration (Closes #720)
- Make wurlitzer non-optional requirement for AMICI python package (Fixes missing AMICI errors when running from jupyter notebooks)
- Compute initial state for Model::getInitialStates if not already set (Fixes #818)
- Make swig generate pydoc comments from doxygen comments #830 (Closes #745) to provide Python docstrings for C++ wrapper functions
- feature(cmake) Add option to disable compiler optimizations for wrapfunctions.cpp (Fixes #828) (#829)
- Change SBML test suite to pytest to allow for parallel test execution… (#824)
- Fix(cmake): -E option is not available in all sed versions. Neither is the equivalent -r. Use --regexp-extended instead (Closes #826)
- Refactor(python) Move PEtab import code from command line script… (#825)
- Fix(core) Fix regular expressions for intel compiler (Closes #754) (#822)
- Update workflow figure to include PySB (Closes #799)
- Fix compiler warnings
- Fix handling of species specified in PEtab condition table (#813)
- Fix some Visual C++ issues, update cppcheck handling, cleanup (VisualC++ still not fully supported)
- Minor fixups (#801)
- Create SBML test suite result files for upload to http://sbml.org/Facilities/Database/ (#798)
- Fixed setting initial conditions for preequilibration (#784)
- Fixed species->parameter conversion during PEtab import (#782)
- Set correct Matlab include directories in CMake (#793)
- Extended and updated documentation (#785, #787)
- Fix various SBML import issues
- Run SBML test suite using github actions instead of travisCI (#789)
-
Simplify/fix AMICI installation
-
If available use environment modules to detect dependencies
-
Add SWIG installation script
-
-
Update list of publication
-
Update documentation
- Update doc for SWIG build and custom SWIG location.
- Add AMICI interface overview / workflow figure and show in README
- Document environment variables for model/core compilation (Closes #737)
-
Added handling of abs function, since there seem to be problems with case sensitivity (#713) Closes #770
Detaills: * cmake: Use package_ROOT environment variables * fix(cmake) Fix finding version.txt * cmake: Auto-detect loaded MKL environment module * cmake: Use new FindPython3 modules where possible * fix(python) Restore python3.6 compatibility * Inside venv, use pip instead of pip3 which should point to the correct version * fix(python) Workaround for missing ensurepip during venv creation [ci skip] * feature(python) Use MKL from environment modules to provide cblas * fix(python) Fix define_macros not being passed to setuptools for Extension * fix(python) Fix define_macros not being passed to setuptools for clibs * Do not always add 'cblas' library since users may want to override that by a cblas-compatible library with a different name (closes #736) * Update HDF5 path hints; use shared library if static is not available. * Check for HDF5_BASE from environment module * Fix system-dependent sundials library directory (Fixes #749) (#750) * Handle OSTYPE==linux in scripts/buildBNGL.sh (Fixes #751) * Add SWIG download and build script * Improve finding swig executable and allow user override via SWIG environment variable * Provide installation hints if no SWIG found (Closes #724) * Allow overriding cmake executable with environment variables in build scripts (Closes #738)
Fixup for missing version bump in v0.10.8 release. No code changes compared to v0.10.8.
Changes in this release:
All:
- Updated / extended documentation
- Fix reuse of
Solver
instances (#541)
C++:
- Check for correct AMICI version for model in CMake
- Add reporting of computation times (#699)
Python:
- Fix manifest file (#698)
- Fix initial amounts/concentrations in SBML import
... and various other minor fixes/improvements
Python
- fix unset noise distribution when automatically generating observables in case None are passed (#691)
C++
- Add SuperLUMT support (#681)
- Sparsified dJydy (#686)
- Enabled support of impulse-free events for DAE models (#687) - thanks to Sebastien Sten for providing a testcase for this
Python
- Enabled support for piecewise functions in SBML import (#662)
- Fix numeric type when constructing ExpData from Dataframes (#690)
- Fix dynamic override in PETab
Bugfix release
Doc
- Update documentation of Windows installation
C++
- Fix missing source files in CMakeLists.txt (#658)
- Set CMake policies to prevent warnings (Closes #676) (#677)
- Start using gsl::span instead of raw pointers (#393) (#678)
Python
- PySB parsing fix (#669)
- Fix failure to propagate BLAS_LIBS contents (#665)
- Require setuptools at setup (#673)
- Updated PEtab import to allow for different noise models
Features / improvements:
- Implement ReturnData and ExpData wrappers as more efficient views (#657)
- Add list of references using AMICI (#659)
- Custom llh (normal/laplace, lin/log/log10) (#656)
Bugfixes:
- Speedup and fix travis build
Features / improvements:
- adds the option for early termination on integration failures for runAmiciSimulations
- improve runtime of
SUNMatrixWrapper::mutliply
- expose finite difference routines in public API
- enable parallel compilation of clib source files
Bugfixes:
- fixed symbolic processing for unreleased pysb features
Features / improvements:
- extended
ExpData
interface to allow for condition specific parameters, parameter scales, parameter lists, initial conditions and initial condition sensitivities.
Bugfixes:
- fixed output values of
ReturnData::x_ss
andReturnData::sx_ss
- travis-ci.com migration
- fix problem with has{variable} functions
- allow to import sbml model from string, not only file
Features / improvements:
- updated sundials to 4.1.0
- updated SuiteSparse to 5.4.0
- added generic implementations for symbolic expressions that were sparse matrix vector products
Bugfixes:
- fixed return value of
rz
when no data is provided.
Features / improvements:
- allow python installations without compilation of c++ extension
- improvements to ExpData <-> pandas.DataFrame interface
- allow generation of matlab models from python
- implement CLI interface for PEtab
- improve computation time for conservation laws from pysb import
Bugfixes:
- Fix sign in undamped Newton step.
Maintenance:
- use newer CI images
Minor fixes only:
- fix(core) Get solver diagnostics for first(last) timepoint (#588) (Closes #586)
- fix(ci) Fix autodeploy (Closes #589)
CRITICAL FIXES
- fix(python) fix symbolic computations for adjoint (#583)
Features
- feature(python) Check for matching AMICI versions when importing model (Closes #556). Set exact AMICI version as model package requirement.
- feature(core) Add option to rethrow AMICI exception (Closes #552)
- feature(python) Redirect C/C++ output in stdout is redirected (e.g. in ipython notebooks) (Closes #456)
Minor fixes
- fix(python) Fix doc and rename sys_pipes to something more meaningful
- fix(ci) Fix premature exit of scripts/runNotebook.sh
- fix(deploy) Update pyenv shims to find twine
Bugfixes:
- fixes a critical bug in the newton solver
- fixes multiple bugs in sbml import for degenerate models, empty stoichiometry assignments and conversion factors
- improved error messages for sbml import
- #560
- #557
- #559
Features / improvements:
- make pure steadystate results available as
rdata['x_ss']
andrdata['sx_ss']
- add option to specify integration tolerances for the adjoint problem via
atolB
andrtolB
Bugfixes:
- improved conservation law identification to also account for constant species.
- fixed a bug where simulation results were written into results of the second newton solver attempt
- fixed an openMP related warning
Maintenance:
- attempt to fix automatic deploy to pypi via travis
Features / improvements:
- Allow computation and application of conservation laws for pysb importet models. This enables use of NewtonSolver for preequilibration for models where it was previously not possible.
- Use
klu_refactor
in the sparse Newton solver instead of always usingklu_factor
and only perform symbolic factorization once (#421) - Allow more detailed finiteness checks (#514)
Bugfixes:
- #491
Maintenance:
- Several improvements to travis log sizes and folding
- Use default copy constructor for Model by implementing class wrappers for sundials matrix types (#516)
- Reenable run of SBML testsuite
Features / improvements:
- Speedup symbolic processing for ODE generation in python
Bugfixes:
- Fix(python) Add missing deepcopy (introduced in 6847ba675f2088854db583199b8754aaa6e01576)
- Fix(core) Prevent parameter scaling length mismatch (#488)
- Fix(python) Set distutils dependency to current version to fix </usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'>
- fix(python) add symlink to version.txt to be included in package
Backwards-compatibility:
- Replace 'newline' by literal to restore <R2016b compatibility (Fixes #493)
Maintenance:
- Remove obsolete swig library build via cmake and related file copying
- Provide issue template for bug reports
- Providing valid SBML document to import is not optional anymore
- Update documentation and tests
- Add python version check and raise required version to 3.6 to prevent cryptic error messages when encountering f-strings
- [all] critical Fix long standing bugs in solving steadystate problems (including preequilibration) (#471)
- [all] Fix AmiVector constructor from std::vector (#471)
- [python] Reenable Solver and Model copy constructors
- Update documentation
- replaced symengine by sympy for symbolic processing in python which fixes several critical bugs that were due to bugs in symengine (#467)
- fixes a critical bug in objective function computation for models compiled using
sbml2amici
andpysb2amici
that was introduced in v0.7.12 - fixes a critical bug in sensitivity computation when
model.reinitializeFixedParameterInitialStates
was set to true - readds the python interface to the ExpData copy constructor that was inadvertently removed in 0.7.12 and streamlines the respective convenience wrapper to provide access to the full range of constructors.
- fixed a critical bug in
amici.constructEdataFromDataFrame
- enabled multithreaded simulation of multiple experiments (requires compilation with openMP)
- modularized sbml import and added pysb import
- [python] Added numpy and python wrappers that provide a more user friendly python API
- [python] Enable import of SBML models with non-float assignment rules
- [python] Enable handling of exceptions in python
- [python] Enable nativ python access to std::vector data-structures
- [core] Provide an API for more fine-grained control over sensitivity tolerances and steady-state tolerances
- [core] Provide an API to specify non-negative state variables (this feature is still preliminary)
- Fixed python SBML import
log()
issues (#412)
- fixes MATLAB compilation of models
- adds option to perform steady state sensitivity analysis via FSA
- condition dependent intitial conditions are now newly set after preequilibration is done
- bugfixes for the ExpData interface
- created build configuration that enables debugging of c++ extensions on os x
- fixed python sbml import when stoichiometry is empty
Fixes a couple of bugs just introduced in v0.7.6
Important: Use AMICI v0.7.7 due to https://github.com/ICB-DCM/AMICI/pull/403/commits/3a495d3db2fdbba70c2b0d52a3d4655c33c817a2
Bug fixes:
- Python import: Fix log10 issues in observables (#382)
- Matlab: Fix broken model compilation (#392)
- Fixed simulation for models without observables (#390)
- Fixed potential matlab memory leaks (#392)
Breaking C++ API changes:
- Revised ExpData interface (#388)
Features/enhancements:
- Add computation of residuals, residuals sensitivity, Fisher information matrix (#223)
- More efficient conversion of std::vector to numpy ndarray (#375)
- Allow specifying timepoints in ExpData (#370)
Minor fixes:
- Condition parameters in ExpData now only temporarily override Model parameters (#371)
- Ensure non-negative states for Newton solver (#378)
Features/enhancements:
- Check SBML model validity (#343)
- Allow per-parameter setting of amioptions::pscale from matlab interface (#350)
- Documentation
Major fixes:
- Don't compile main.cpp into python model module which broke modules if amici was compiled without libhdf5 (#363)
Minor fixes:
- Fix compiler warnings (#353)
- Plotting, SBML example mode, ...
Features:
- Added symbol names to python-wrapped models and make available via Model.getParameterNames(), model.getStateNames(), ...
- Extended Python interface example
Python package available via pypi: https://pypi.org/project/amici/0.7.3/
Features:
- Python package: more flexible HDF5 library localization
- Extended CI: python tests, preequilibration tests, run in venv
Major bugfixes:
- Fix python sbml model import / compilation error (undefined function)
- Fix model preequilibration
Minor fixes:
- Various fixes for mingw compilation of python source distribution
- Cmake compatibility with < 3.8 restored
Features:
- Allow specifying sigma-parameters from Python interface
Major bugfixes:
- Fix dsigma_y/dp and downstream sensitivity errors
- Major revision of documentation
- Improved Python interface
- More comprehensive Python interface example
- Fixed sensitivity computation in Python-generated models
- Various other bug fixes
WARNING:
- For models with sigma-parameters and dsigma_y/dp != 0, dsigma_y/dp was computed incorrectly. This propagates to all dependent sensitivities. This applies also to some older releases and has been fixed in v0.7.1.
Implement experimental support for python via swig. Python interface is now usable, but API will still receive some updates in the future.
WARNING:
- There is a bug in sensitivity computation for Python-generated models
- Matlab C++ compilation will fail due to undefined M_PI -> Please use v0.7.0
Main new features are:
-
Reimplemented support for DAE equations
-
Added newton solver for steady state calculation and preequilibration
-
Better caching for recompilation of models
-
Blas support to allow compilation of large models with many observables
-
Improved SBML support
-
Added c++ interface
-
Added support for second order adjoint computation
-
Rewrote large parts of the code as proper c++11 code to allow easier code maintanance
-
Substantially extended testing in continuous integration to assure code quality
- First citable version of AMICI (via zenodo integration).
- Better support for standalone compilation
- Improved SBML import scripts
- General Code Cleanup
This update comes with many improvements, bug fixes and several new features. Most notably:
- AMICI should now run on older versions of MATLAB (back to R2014a)
- AMICI now compiles using older versions of Visual Studio
- AMICI now also supports second order adjoint sensitivities (full (via the o2flag = 1 and as a vector product via o2flag = 2)
- AMICI now supports more SBML, SBML v2 and rate rules
Bugfix release. This release also includes some changes that should improve the performance on the new R2016a release of MATLAB.
This update comes with many improvements to the computation time for both compilation and simulation. Moreover several new features were included:
- Hessian Vector products for second order forward sensitivities
- Correct treatment of parameter/state dependent discontinuities for both forward and adjoint sensitivities
This is the initial release of the toolbox