You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing a function on a reaction, it should automatically add modifiers to the reaction scheme.
currently, when a reaction r1 with scheme A -> B is assigned a kinetic using modifiers this fails
In the gui, this is allowed, however, this results in an invalid function, since no mapping is specified at that point. I would rather want to avoid creating invalid states, as it would be hard to track down later.
So i propose to silently add modifiers to the reaction scheme, iff a mapping for modifier to species is defined. that means:
set_reaction('r1', function='function with modifier') would still fail, however
set_reaction('r1', function='function with modifier', mapping={'formulaTokenUsedAsModifier', 'speciesName' }) would work
When changing a function on a reaction, it should automatically add modifiers to the reaction scheme.
r1
with schemeA -> B
is assigned a kinetic using modifiers this failsIn the gui, this is allowed, however, this results in an invalid function, since no mapping is specified at that point. I would rather want to avoid creating invalid states, as it would be hard to track down later.
So i propose to silently add modifiers to the reaction scheme, iff a mapping for modifier to species is defined. that means:
set_reaction('r1', function='function with modifier')
would still fail, howeverset_reaction('r1', function='function with modifier', mapping={'formulaTokenUsedAsModifier', 'speciesName' })
would work@pmendes would that work for you?
The text was updated successfully, but these errors were encountered: