Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 20, 2023
1 parent f9f3c51 commit 29fbdbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def plot_expressions(
:param rdata:
The simulation results.
"""
if not isinstance(exprs, Sequence):
if not isinstance(exprs, Sequence) or isinstance(exprs, str):
exprs = [exprs]

Check warning on line 135 in python/sdist/amici/plotting.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/plotting.py#L134-L135

Added lines #L134 - L135 were not covered by tests

for expr in exprs:
Expand Down

0 comments on commit 29fbdbf

Please sign in to comment.