Skip to content

Commit

Permalink
Update swmmanywhere.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobson committed Mar 4, 2024
1 parent 574f4c7 commit 8344318
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions swmmanywhere/swmmanywhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def run(model: Path,
for var, info in variables.items():
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
pobjs = info['class'](sim)
results_list += [{'object': x,
'variable': var,
'id': info['id']} for x in pobjs]
# Rather than calling eg Nodes or Links, only call them if they
# are needed for storevars because they carry a significant
# overhead
pobjs = info['class'](sim)
results_list += [{'object': x,
'variable': var,
'id': info['id']} for x in pobjs]

# Iterate the model
results = []
Expand Down

0 comments on commit 8344318

Please sign in to comment.