New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected behavior for reversible reaction #166
Comments
Hey @himoto could you take a look at this? Am I missing something or is this indeed a bug? |
The same behavior appears for uni-directional reactions such as:
|
Hi @formersbach,
And I think it would be dangerous to use arrows for identifying reaction rules, which will destroy Text2Model. |
I see! But how can Text2Model identify the reaction rule for:
Is the plus symbol used to infer the reaction rule? |
Yes, it is assigned for complex association and dissociation (see below). biomass/biomass/construction/reaction_rules.py Lines 214 to 219 in fc464df
Note that currently I do not allow to have the plus symbol in both left and right hand side of the arrow.
However, I found that the latest biomass does not raise any warning and errors. |
Correctly raises "Cannot put the plus symbol in both left and right hand side of arrow" error!
Wouldn't it make sense to use simple mass action kinetics by default? At least the other modelling programs I've used do it like that, so it was quite unexpected. |
This sounds reasonable. To be able to describe simple state transition via arrows, I added
|
I have fixed this issue in #169 |
Description:
Text2Model of reversible reaction with one reactant and one product fails.
Reproduce:
Text file containing:
Convert to model:
Raises:
DetectionError
Unregistered words in line2: A <--> B
The text was updated successfully, but these errors were encountered: