From 74d86784bac3f9fd38658f37d60c000288218296 Mon Sep 17 00:00:00 2001 From: Cassidy Wagner Date: Wed, 22 May 2024 14:29:56 -0700 Subject: [PATCH] formatting --- oceans_sf/calculate_advection.py | 2 +- oceans_sf/generate_structure_functions.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/oceans_sf/calculate_advection.py b/oceans_sf/calculate_advection.py index 90d53c4..9f54343 100755 --- a/oceans_sf/calculate_advection.py +++ b/oceans_sf/calculate_advection.py @@ -40,7 +40,7 @@ def calculate_advection( # noqa: D417 Returns ------- tuple or ndarray: - A tuple of advection components (x and y) if scalar is not provided, + A tuple of advection components (x and y) if scalar is not provided, otherwise returns an ndarray of scalar advection. """ if grid_type == "uniform": diff --git a/oceans_sf/generate_structure_functions.py b/oceans_sf/generate_structure_functions.py index 8936ac0..b5d5b8c 100755 --- a/oceans_sf/generate_structure_functions.py +++ b/oceans_sf/generate_structure_functions.py @@ -216,8 +216,6 @@ def generate_structure_functions( # noqa: C901, D417 x[x_shift], y[y_shift], x[x_shift], yroll[y_shift], grid_type ) - - # Bin the data if the grid is uneven if even is False: if skip_velocity_sf is False: