Skip to content

Commit

Permalink
Removing __del__ from particlefileaos and -soa
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvansebille committed Jul 18, 2023
1 parent 0783681 commit 246352d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions parcels/particlefile/particlefileaos.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def __init__(self, name, particleset, outputdt=np.infty, write_ondelete=False):
name=name, particleset=particleset, outputdt=outputdt, write_ondelete=write_ondelete
)

def __del__(self):
super().__del__()

def _reserved_var_names(self):
"""Returns the reserved dimension names not to be written just once."""
return ['time', 'lat', 'lon', 'depth', 'id']
3 changes: 0 additions & 3 deletions parcels/particlefile/particlefilesoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ def __init__(self, name, particleset, outputdt=np.infty, write_ondelete=False):
name=name, particleset=particleset, outputdt=outputdt, write_ondelete=write_ondelete
)

def __del__(self):
super().__del__()

def _reserved_var_names(self):
"""Returns the reserved dimension names not to be written just once."""
return ['time', 'lat', 'lon', 'depth', 'id']

0 comments on commit 246352d

Please sign in to comment.