We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05808ea commit 39e72b1Copy full SHA for 39e72b1
1 file changed
tests/test_kernels.py
@@ -35,8 +35,9 @@ def make_standard_particleset(fieldset, settings):
35
def checkBelowDataDepth(particle, fieldset, time):
36
# The vertical mixing kernel can push particles below the test dataset depth, throwing an
37
# out of bounds error. This kernel will keep particles above the max depth.
38
- if particle.depth + particle_ddepth >= fieldset.max_depth:
39
- particle_ddepth = fieldset.max_depth - particle.depth - 0.5 # move half a meter above the max depth
+ if particle.depth + particle_ddepth >= fieldset.max_depth: # noqa
+ # move half a meter above the max depth
40
+ particle_ddepth = fieldset.max_depth - particle.depth - 0.5 # noqa
41
42
43
@pytest.mark.parametrize('use_3D', [True, False])
0 commit comments