From d7e73ca22aa9888c6ef0a273d4a8c4a59ac1417e Mon Sep 17 00:00:00 2001 From: Zachary Clement Date: Thu, 18 Jan 2024 22:44:44 -0500 Subject: [PATCH] pep8 fixes --- forest/jasmine/data2mobmat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forest/jasmine/data2mobmat.py b/forest/jasmine/data2mobmat.py index ff959d23..5a86784c 100644 --- a/forest/jasmine/data2mobmat.py +++ b/forest/jasmine/data2mobmat.py @@ -614,6 +614,7 @@ def gps_to_mobmat( return mobmat + def force_valid_longitude(longitude): """Forces a longitude coordinate to be within -180 and 180 Args: @@ -621,6 +622,7 @@ def force_valid_longitude(longitude): """ return (longitude + 180) % 360 - 180 + def compute_flight_positions( index: int, mobmat: np.ndarray, interval: float ) -> np.ndarray: