Fixing bugs in generating reaction definition and code
Merge pull request #7 from samseaver/reaction_code_fix

Fixing bugs in generating reaction definition and code