File: 0.9.0.md

package info (click to toggle)
python-cobra 0.29.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,512 kB
  • sloc: python: 14,703; xml: 12,841; makefile: 137; sh: 30
file content (30 lines) | stat: -rw-r--r-- 1,617 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 from
  `validation.check_metabolite_compartment_formula`.
- Excessively long output of html representations in jupyter notebooks are now abbreviated [#577](https://github.com/opencobra/cobrapy/pull/577).
- Reaction forward and reverse variables are no longer cached with those object. No visible effect but simplifies the code.
- Fix bug in summary methods when used with exchange reaction sas objective. [#595](https://github.com/opencobra/cobrapy/pull/595).

## New features

- `Model.objective_direction` is a new revertible property to set maximization / minimization using the context manager.
- 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.
- Enable summing lists of reactions, see [#596](https://github.com/opencobra/cobrapy/pull/596)

## Deprecated features

- `Model.get_metabolite_compartments` is deprecated (use
  `Model.compartments` instead).
- `Reaction.get_compartments` is deprecated (use
  `Reaction.compartments` instead).

## Backwards incompatible changes

- The format of the dataframe `production_envelope` changed listing max and min on different columns instead of the same.