Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjohn committed Apr 6, 2018
1 parent 78b0152 commit ac587e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cobra/flux_analysis/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def _process_flux_dataframe(flux_dataframe, fva, threshold, floatfmt):
(flux_dataframe.fmin.abs() > flux_threshold) |
(flux_dataframe.fmax.abs() > flux_threshold)].copy()

flux_dataframe.loc[flux_dataframe.flux.abs() < flux_threshold, 'flux'] = 0
flux_dataframe.loc[
flux_dataframe.flux.abs() < flux_threshold, 'flux'] = 0

# Make all fluxes positive
if not fva:
Expand Down

0 comments on commit ac587e5

Please sign in to comment.