Fixing key error in reactions() function caused by skipping invalid reactions in parsing the reactions file.  Error was occurring when assigning new direction and enzymes to reactions from the template reactions file that were invalid and skipped in parsing the master reactions file.  Added an if statement to only reassign direction and enzymes to reactions that were parsed from the master reactions file.
Fixing key error in reactions() function caused by skipping invalid reactions in parsing the reactions file.  Error was occurring when assigning new direction and enzymes to reactions from the template reactions file that were invalid and skipped in parsing the master reactions file.  Added an if statement to only reassign direction and enzymes to reactions that were parsed from the master reactions file.

taylor-oconnell/PyFBA