We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fc6ed commit e949381Copy full SHA for e949381
src/cobra/flux_analysis/fastcc.py
@@ -2,6 +2,8 @@
2
3
from typing import TYPE_CHECKING, List, Optional
4
5
+from warnings import warn
6
+
7
from optlang.symbolics import Zero
8
9
from .helpers import normalize_cutoff
@@ -33,6 +35,12 @@ def _find_sparse_mode(
33
35
The list of reactions to consider as consistent.
34
36
37
"""
38
+ warn("As of 2021, release V... this function contains a known bug "
39
+ "which allows reactions with zero net flux to be considered active,"
40
+ " as well as known discrepancies between this function "
41
+ "(the cobrapy implementation) and its matlab implementation "
42
+ "present in the cobra toolbox, "
43
+ "see: https://github.com/opencobra/cobrapy/issues/1154")
44
if rxns:
45
obj_vars = []
46
vars_and_cons = []
0 commit comments