Skip to content

Commit

Permalink
fix flake8 complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Aug 24, 2023
1 parent 9083275 commit adab725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/cobra/flux_analysis/loopless.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ def loopless_solution(
- All fluxes have the same sign (flow in the same direction) as the
previous solution.
When providing fluxes to the method, please note that those have to come from the exact same model
that you provided, meaning that no bounds or coefficients have been changed, and the
optimum has remained the same.
When providing fluxes to the method, please note that those have to come from the
exact same model that you provided, meaning that no bounds or coefficients have
been changed, and the optimum has remained the same.
References
----------
Expand Down
2 changes: 1 addition & 1 deletion tests/test_core/test_core_reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def test_compartment_changes(model: Model) -> None:
def test_gpr_serialization(model: Model) -> None:
"""Verify that reactions GPRs are serialized compactly as str."""
state = model.reactions[0].__getstate__()
assert type(state["_gpr"]) == str
assert isinstance(state["_gpr"], str)


def test_gpr_serialization_backwards_compatibility(model: Model) -> None:
Expand Down

0 comments on commit adab725

Please sign in to comment.