File: 0.8.2.md

package info (click to toggle)
python-cobra 0.29.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,512 kB
  • sloc: python: 14,703; xml: 12,841; makefile: 137; sh: 32
file content (26 lines) | stat: -rw-r--r-- 1,151 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
# Release notes for cobrapy 0.8.2

## Fixes

- Guarantee that sampler._reproject always returns a feasible point
  and will not attempt to reproject already feasible
  points. [#564](https://github.com/opencobra/cobrapy/pull/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](https://github.com/opencobra/cobrapy/pull/566)
- Metabolites must now have valid identifiers before being added to a
  model or `ValueError` is raised.
- Fix use of underscores in key/value pairs in legacy sbml
  notes. [#547](https://github.com/opencobra/cobrapy/issues/547)

## Backwards incompatible changes

- the Solution class no longer contains links progenitor model's
  reactions and metabolites. Removed since it those can change after
  the solution has been computed making them erroneous. This of course
  implies that `Solution` constructor changes to:
  ```
      def __init__(self, objective_value, status, fluxes, reduced_costs=None,
                 shadow_prices=None, **kwargs):
  ```