Skip to content

Commit 560f9ce

Browse files
Merge branch 'v4-dev' into removing_particle_ti
2 parents 3abf522 + 5e36f8e commit 560f9ce

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

parcels/particle.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ def __init__(self, lon, lat, pid, fieldset=None, ngrids=None, depth=0.0, time=0.
149149
initial = v.initial
150150
setattr(self, v.name, v.dtype(initial))
151151

152-
def __del__(self):
153-
pass # superclass is 'object', and object itself has no destructor, hence 'pass'
154-
155152
def __repr__(self):
156153
time_string = "not_yet_set" if self.time is None or np.isnan(self.time) else f"{self.time:f}"
157154
p_string = f"P[{self.id}](lon={self.lon:f}, lat={self.lat:f}, depth={self.depth:f}, "

parcels/particledata.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ def __init__(self, pclass, lon, lat, depth, time, lonlatdepth_dtype, pid_orig, n
182182
else:
183183
raise ValueError("Latitude and longitude required for generating ParticleSet")
184184

185-
def __del__(self):
186-
pass
187-
188185
@property
189186
def pu_indicators(self):
190187
"""

0 commit comments

Comments
 (0)