diff --git a/swmmanywhere/swmmanywhere.py b/swmmanywhere/swmmanywhere.py index db1f4bba..a8afb1db 100644 --- a/swmmanywhere/swmmanywhere.py +++ b/swmmanywhere/swmmanywhere.py @@ -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 = []