0.26.3
patch release
Release notes for cobrapy x.y.z
New features
Fixes
Fixed an issue where reaction bounds were being overwritten by global model min/max values when writing sbml model to file. See #1300.
Fix an issue where runfrog
does
not work via github actions or local installation by removing the use of obsolete numpy
aliases for float
and bool
.
0.25.0
minor release
Release notes for cobrapy 0.25.0
New features
- Add
knock_out_model_genes
to simulate knock-outs, setting reaction bounds of affected reactions to zero and returning a list of reactions that were knocked-out. Replacesdelete_model_genes
andundelete_model_genes
since it is context sensitive. - Improve reading of matlab models which will include metabolite and reaction annotations.
0.22.1
patch release
Release notes for cobrapy 0.22.1
Fixes
- Fix an old bug with double gene deletion that was not knocking-out combinations (#1103).
- Lots of syntax, annotation, and docstring fixes (#1081, #1083, #1084, #1085, #1086, #1088, #1090, #1091, #1092, #1093, #1094, #1095, #1096).
Deprecated features
0.21.0
minor release
Release notes for cobrapy 0.21.0
Other
- Update libSBML dependency to
python-libsbml==5.19.0
. - Docstring and style changes.
0.19.0
minor release
Release notes for cobrapy 0.19.0
We now have an official code of conduct and a committee of three people to handle reports! You can contact them at conduct@opencobra.org. You can also contact them individually at:
0.17.1
patch release
Release notes for cobrapy 0.17.1
Fixes
- Prevent an error with infeasible solutions in (loopless) FVA.
- Correct a sampling problem with Gurobi as the solver.
- Adjust sampling documentation.
0.17.0
minor release
Release notes for cobrapy 0.17.0
Fixes
- Improve handling of and problems with SBML notes.
- Log SBML messages to a module logger rather than the root logger.
- Repair documentation building.
0.15.4
patch release
Release notes for cobrapy 0.15.4
Fixes
- This release brings a number of bug fixes for SBML I/O (#852).
Backwards incompatible changes
- The deprecated
objective_coefficient
was removed (#871).
0.15.3
patch release
Release notes for cobrapy 0.15.3
Fixes
- Correct multiple issues with the new SBML parser (#822, #839, #840, #843, #844).
- Function
validate_sbml_model
properly captures errors and warnings.
0.15.2
patch release
Release notes for cobrapy 0.15.2
New features
- We introduce a new
tolerance
attribute both on the globalConfiguration
object as well asModel
. The default for this is 1E-07. Many functions that use a zero cut-off will now use the set model tolerance value by default. This value can still be set manually via function arguments but attempting to set a threshold that is lower than the model tolerance now raises an error.
0.14.2
patch release
Release notes for cobrapy 0.14.2
Fixes
- Better identification of the external compartment.
- Fix the installation of all optional dependencies, i.e.,
pip install cobra[all]
.
0.14.0
minor release
Release notes for cobrapy 0.14.0
New features
- Adding boundary reactions is now much more flexible and accepts user-defined identifiers.
- It is now possible to run FVA and loopless FVA in parallel.
- Some utilities and an example of how to perform static optimization dynamic FBA.
0.14.1
patch release
Release notes for cobrapy 0.14.1
Fixes
- Always create an XML declaration when reading SBML from a byte stream.
0.13.4
patch release
Release notes for cobrapy 0.13.4
Fixes
- Internal re-organization of the test suite.
- Upgrade the
ruamel.yaml
version making it compatible with Python 3.7. - Fix a bug with a regular expression in the Matlab interface.
0.13.3
patch release
Release notes for cobrapy 0.13.3
- Make a clean release for PyPI, website, and GitHub.
0.13.0
minor release
Release notes for cobrapy 0.13.0
New features
- New properties for the
cobra.Model
that give access to specific boundary reactions. - New functions for handling media and computing minimal media. Please read the new documentation chapter on media.
Backwards incompatible changes
0.12.1
patch release
Release notes for cobrapy 0.12.1
New features
- Fix/feature that allows summaries to work properly for models with multiple exchange reactions for the same metabolite.
- Require a later optlang version so that Gurobi can now be used for quadratic problems.
- cobrapy can now extract primal values from a wider range of solver states. This is particularly useful to investigate problems in non-optimal states.
0.11.2
patch release
Release notes for cobrapy 0.11.2
Fixes
- Correctly set the constraint for a previous minimization objective in FVA.
0.11.1
patch release
Release notes for cobrapy 0.11.1
Fixes
- Catch all
optlang
errors and re-raise them asOptimizationError
with corresponding message.
0.10.0
minor release
Release notes for cobrapy 0.10.0
Fixes
- The solvers packaged with cobrapy have been removed.
- cobra is now a pure Python package and no longer has compiled extensions.
- Massively simplified continuous testing and deployment.
- The
solver
argument and configuration keyword arguments have been removed. Please set the solver on the model and configure it before calling optimization functions.
0.10.1
patch release
Release notes for cobrapy 0.10.1
Fixes
pandas
has dropped support for Python 3.4 and we are doing the same for our automated tests. If you are running Python 3.4 and have a working installation of numpy and pandas, adding cobrapy on top of that is no problem.- Updated some URLs in the links.
0.9.0
minor release
Release notes for cobrapy 0.9.0
Fixes
Model.compartment
is now a dynamic property fetching the compartments from all metabolites therefore always up-to-date. Assigning a dictionary to the same property updates the internal dictionary of compartment descriptions. This change removes the need for the check for missing compartments fromvalidation.check_metabolite_compartment_formula
.
0.8.2
patch release
Fixes
- Guarantee that sampler._reproject always returns a feasible point and will not attempt to reproject already feasible points. #564
Model.summary
no longer fails when calling after the model has changed. Fixed by letting the summary function re-compute a solution (default) or letting user supply a prior computed solution object. #566
0.8.1
patch release
Fixes
0.7.0
minor release
Fixes
cobra.flux_analysis.reaction.assess
was broken following the release of 0.6.0 and has now been fixed (and now with unit tests).
0.6.0
minor release
In this release we have made major changes to pretty much all corners of cobrapy and we hope that you will enjoy the new features as much as we do, and that any negative impacts on existing workflows will be limited. The major change is the ongoing move away from cobrapy’s internal solver interfaces to those provided by optlang which provides a single unified interface to glpk, cplex and gurobi enhanced by the ability to deal with symbolic expressions.
0.5.11
minor release
This was the last release of the 0.5 series which was based on cobrapy’s own solver interfaces.
For a list of features please see the documentation.