Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
asross committed May 19, 2022
1 parent b10dac6 commit 1ccec76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions pyqg/qg_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ def __init__(
U2 : number
Lower layer flow. Units: meters seconds :sup:`-1`
"""
if 'nz' in kwargs:
del kwargs['nz']

self.delta = delta
self.Hi = np.array([ H1, H1/delta])

Expand Down
3 changes: 0 additions & 3 deletions pyqg/vendor/delegate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ def __delattr__(self, name):
if name in args: delattr(getattr(self, dest), name)
else: del self.__dict__[name]

def __init__(self, *wrapped_args, **wrapped_opts):
super().__init__(*wrapped_args, **wrapped_opts)

Wrapped.__doc__ = cls.__doc__ or \
f"{cls.__class__} wrapped to delegate {args} to its {dest} property"
Wrapped.__repr__ = cls.__repr__
Expand Down

0 comments on commit 1ccec76

Please sign in to comment.