Skip to content

Commit 252a999

Browse files
committed
Bump version: 0.8.2 → 0.9.0
1 parent 3258e39 commit 252a999

File tree

5 files changed

+34
-14
lines changed

5 files changed

+34
-14
lines changed

cobra/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
DictList, Gene, Metabolite, Model, Object, Reaction, Species)
1414
from cobra.util.version_info import show_versions
1515

16-
__version__ = "0.8.2"
16+
__version__ = "0.9.0"
1717

1818
# set the warning format to be prettier and fit on one line
1919
_cobra_path = _dirname(_abspath(__file__))

release-notes/0.9.0.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Release notes for cobrapy 0.9.0
2+
3+
## Fixes
4+
5+
- `Model.compartment` is now a dynamic property fetching the
6+
compartments from all metabolites therefore always
7+
up-to-date. Assigning a dictionary to the same property updates the
8+
internal dictionary of compartment descriptions. This change removes
9+
the need for the check for missing compartments from
10+
`validation.check_metabolite_compartment_formula`.
11+
- Excessively long output of html representations in jupyter notebooks are now abbreviated [#577](https://github.com/opencobra/cobrapy/pull/577).
12+
- Reaction forward and reverse variables are no longer cached with those object. No visible effect but simplifies the code.
13+
- Fix bug in summary methods when used with exchange reaction sas objective. [#595](https://github.com/opencobra/cobrapy/pull/595).
14+
15+
## New features
16+
17+
- `Model.objective_direction` is a new revertible property to set maximization / minimization using the context manager.
18+
- Change output of `production_envelope` to wide data frame format [#587](https://github.com/opencobra/cobrapy/pull/587). Also allow multiple carbon source reactions and better handling of zero-division exceptions.
19+
- Enable summing lists of reactions, see [#596](https://github.com/opencobra/cobrapy/pull/596)
20+
21+
## Deprecated features
22+
23+
- `Model.get_metabolite_compartments` is deprecated (use
24+
`Model.compartments` instead).
25+
- `Reaction.get_compartments` is deprecated (use
26+
`Reaction.compartments` instead).
27+
28+
## Backwards incompatible changes
29+
30+
- The format of the dataframe `production_envelope` changed listing max and min on different columns instead of the same.

release-notes/next-release.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,8 @@
22

33
## Fixes
44

5-
- `Model.compartment` is now a dynamic property fetching the
6-
compartments from all metabolites therefore always
7-
up-to-date. Assigning a dictionary to the same property updates the
8-
internal dictionary of compartment descriptions. This change removes
9-
the need for the check for missing compartments from
10-
`validation.check_metabolite_compartment_formula`.
11-
125
## New features
136

147
## Deprecated features
158

16-
- `Model.get_metabolite_compartments` is deprecated (use
17-
`Model.compartments` instead).
18-
- `Reaction.get_compartments` is deprecated (use
19-
`Reaction.compartments` instead).
9+
## Backwards incompatible changes

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.8.2
2+
current_version = 0.9.0
33
commit = True
44
tag = True
55
parse = (?P<major>\d+)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def build_extension(self, ext):
144144

145145
setup(
146146
name="cobra",
147-
version="0.8.2",
147+
version="0.9.0",
148148
packages=find_packages(),
149149
setup_requires=setup_requirements,
150150
install_requires=["future", "swiglpk", "optlang>=1.2.1",

0 commit comments

Comments
 (0)