Skip to content

Commit

Permalink
fix bug in load_fbc2_gpr
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanielmachado committed Jun 5, 2018
1 parent e525071 commit 9015d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framed/io/sbml.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def _load_fbc2_gpr(sbml_model, model):
fbcrxn = reaction.getPlugin('fbc')
gpr_assoc = fbcrxn.getGeneProductAssociation()
if gpr_assoc:
gpr = _parse_fbc_association(gpr_assoc.getAssociation(), reaction.id)
gpr = _parse_fbc_association(gpr_assoc.getAssociation(), reaction.getId())
model.set_gpr_association(reaction.getId(), gpr, add_genes=False)
else:
model.set_gpr_association(reaction.getId(), None)
Expand Down

0 comments on commit 9015d5f

Please sign in to comment.