Skip to content

Commit

Permalink
Update swmmanywhere/swmmanywhere.py
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Alonso Álvarez <6095790+dalonsoa@users.noreply.github.com>
  • Loading branch information
barneydobson and dalonsoa authored Mar 4, 2024
1 parent 7b72df6 commit 574f4c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swmmanywhere/swmmanywhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def run(model: Path,

results_list = []
for var, info in variables.items():
if var in storevars:
if var not in storevars:
continue
# Rather than calling eg Nodes or Links, only call them if they
# are needed for storevars because they carry a significant
# overhead
Expand Down

0 comments on commit 574f4c7

Please sign in to comment.