|
| 1 | +# Release notes for cobrapy 0.25.0 |
| 2 | + |
| 3 | +## New features |
| 4 | + |
| 5 | +* Add `knock_out_model_genes` to simulate knock-outs, setting |
| 6 | + reaction bounds of affected reactions to zero and returning a list |
| 7 | + of reactions that were knocked-out. Replaces `delete_model_genes` |
| 8 | + and `undelete_model_genes` since it is context sensitive. |
| 9 | +* Improve reading of matlab models which will include metabolite |
| 10 | + and reaction annotations. |
| 11 | + |
| 12 | +## Fixes |
| 13 | + |
| 14 | +* `model.copy()` will now correctly copy GPRs. |
| 15 | +* Fix an error where matlab models can not be read if their bounds exceed the |
| 16 | + configuration default in some cases. |
| 17 | +* Fixed some bugs in `GPR().from_string()` where it was using the unmodified string, |
| 18 | + leading to errors with `GPR`s that should work. Made `GPR`s that have empty |
| 19 | + parenthesis fail more comprehensibly. |
| 20 | + |
| 21 | +## Other |
| 22 | + |
| 23 | +* Move tests to a different directory, from `src/cobra/test` to `tests` (#1191). |
| 24 | +* Add two tests for `GPR` fixes: |
| 25 | + * `test_gpr_wrong_input()` |
| 26 | + * `test_gpr_that_needs_two_replacements()` |
| 27 | +* Clean up Python syntax (#1152, #1153, #1171, #1173, #1182) |
| 28 | + |
| 29 | +## Deprecated features |
| 30 | + |
| 31 | +* Deprecate `delete_model_genes`, `undelete_model_genes` |
| 32 | + |
| 33 | +## Backwards incompatible changes |
| 34 | + |
| 35 | +* Remove `find_gene_knockout_reactions` from `delete.py` |
| 36 | +* Remove `_find_gene_knockout_reactions_fast`, |
| 37 | + `_gene_knockout_computation`, `_get_removed ` |
| 38 | + from `test_delete.py` |
| 39 | +* Remove `pymatlib` direct transfer of models to matlab process. |
| 40 | + Please use `save_matlab_model()` and then read the model in matlab. |
| 41 | + |
0 commit comments