Skip to content

Commit

Permalink
Fixed bugs in properties creation for TimeDifferencingWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy McGibbon committed Aug 7, 2018
1 parent cf59604 commit 3277b7b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sympl/_components/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,13 +378,15 @@ def input_properties(self):

@property
def tendency_properties(self):
return_dict = self._implicit.output_properties.copy()
return_dict.update(self._tendency_diagnostic_properties)
return_dict = {}
for name, properties in self._implicit.output_properties.items():
return_dict[name] = properties.copy()
return_dict[name]['units'] += ' s^-1'
return return_dict

@property
def diagnostic_properties(self):
return self._implicit.diagnostic_propertes
return self._implicit.diagnostic_properties

def __init__(self, implicit, **kwargs):
"""
Expand Down

0 comments on commit 3277b7b

Please sign in to comment.