From 28a70f453a6ce3a7c9be8589b985596e3159b463 Mon Sep 17 00:00:00 2001 From: Cal Wing <20716204+calw20@users.noreply.github.com> Date: Thu, 17 Oct 2024 00:15:46 +1000 Subject: [PATCH] Syntax --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 735b597..6f59283 100644 --- a/main.py +++ b/main.py @@ -243,8 +243,8 @@ def load_data(data_to_load: list[str]) -> dict: p2p_1 = p2p / abs(p2_g1_time - p1_g1_time) # m/s p2p_2 = p2p / abs(p2_g2_time - p1_g2_time) # m/s - print(f"{foo[0]} - {foo[1]} - G1 - Measured a shock speed of {p2p_1:.2f} m/s ({p2p_1/1000:.2f} km/s)") - print(f"{foo[0]} - {foo[1]} - G2 - Measured a shock speed of {p2p_2:.2f} m/s ({p2p_2/1000:.2f} km/s)") + print(f"{foo[0]}-{foo[1]} - G1 - Measured a shock speed of {p2p_1:.2f} m/s ({p2p_1/1000:.2f} km/s)") + print(f"{foo[0]}-{foo[1]} - G2 - Measured a shock speed of {p2p_2:.2f} m/s ({p2p_2/1000:.2f} km/s)") # Return the data & the successfully loaded data keys