Skip to content

Commit

Permalink
Merge pull request #240 from jonls/fastgapfill-epsilon
Browse files Browse the repository at this point in the history
fastgapfill: Fix bug where epsilon was not used
  • Loading branch information
jonls committed May 19, 2017
2 parents edace45 + 862623d commit 6a6232e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psamm/fastgapfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def fastgapfill(model_extended, core, solver, weights={}, epsilon=1e-5):
# Run Fastcore and print the induced reaction set
logger.info('Calculating Fastcore induced set on model')
induced = fastcore(
model_extended, core, epsilon=1e-5, weights=weights, solver=solver)
model_extended, core, epsilon=epsilon, weights=weights, solver=solver)
logger.debug('Result: |A| = {}, A = {}'.format(len(induced), induced))
added_reactions = induced - core
logger.debug('Extended: |E| = {}, E = {}'.format(
Expand Down

0 comments on commit 6a6232e

Please sign in to comment.