Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuly12 committed Mar 5, 2024
1 parent 8cd6b4e commit da7c538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsimod/nodes/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def apply_overrides(self, overrides = Dict[str, Any]):
"muptNpar", "muptPpar", "max_temp_lag", "max_phosphorus_lag"]

for param in overwrite_params:
setattr(self, param, overrides.pop(param, getattr(self,param))
setattr(self, param, overrides.pop(param, getattr(self, param)))

if 'area' in overrides.keys():
print('ERROR: specifying area is depreciated in overrides for river, please specify length and width instead')
Expand Down

0 comments on commit da7c538

Please sign in to comment.