Commit dfdbb89b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

reaction identifier must be set a bit later

parent a5b98377
Pipeline #20016 passed with stage
in 12 minutes and 21 seconds
......@@ -633,8 +633,9 @@ public class SbmlReactionParser extends SbmlBioEntityParser {
}
protected Reaction parse(org.sbml.jsbml.Reaction sbmlReaction) throws InvalidInputDataExecption {
Reaction reaction = new Reaction(sbmlReaction.getId());
Reaction reaction = new Reaction();
assignBioEntityData(sbmlReaction, reaction);
reaction.setIdReaction(sbmlReaction.getId());
reaction.setReversible(sbmlReaction.isReversible());
if (sbmlReaction.getKineticLaw() != null) {
if (sbmlReaction.getKineticLaw().getMath() == null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment