Skip to content

Commit

Permalink
Fix edge case on carnival
Browse files Browse the repository at this point in the history
  • Loading branch information
pablormier committed Nov 13, 2023
1 parent 3365a5f commit 816423f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corneto/methods/signflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def signflow_constraints(
# the inverse signal instead. Same for dummy target _t. As a convention, they are forced
# to be always activated instead to avoid these alternative options.
p += N_act[vidx["_s"]] == 1
p += N_act[vidx["_t"]] == 1
p += N_act[vidx["_t"]] >= 0
# Dont define activation/inhibition for reactions with no reactants or no products
# rids = np.flatnonzero(np.logical_and(rn.has_reactant(), rn.has_product()))
# TODO: Simplify this by adding methods to ReNet
Expand Down

0 comments on commit 816423f

Please sign in to comment.