From 4eba73da70febf46b187e4f1e3236b9c4a5ecfa1 Mon Sep 17 00:00:00 2001 From: Phil Owen <19691521+PhillipsOwen@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:28:07 -0400 Subject: [PATCH] fixing pylint issue --- src/common/pg_impl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/pg_impl.py b/src/common/pg_impl.py index bc7c8ca..5221885 100644 --- a/src/common/pg_impl.py +++ b/src/common/pg_impl.py @@ -335,12 +335,12 @@ def get_station_data(self, **kwargs) -> str: station_df['Difference (APS-OBS)'] = station_df[observation_name] - station_df[nowcast_column_name] # rename the columns - station_df.rename(columns={nowcast_column_name: 'APS Nowcast', observation_name: 'Observations', - tidal_predictions_name: 'NOAA Tidal Predictions'}, inplace=True) + station_df.rename( + columns={nowcast_column_name: 'APS Nowcast', observation_name: 'Observations', tidal_predictions_name: 'NOAA Tidal Predictions'}, + inplace=True) else: # rename the columns - station_df.rename(columns={observation_name: 'Observations', tidal_predictions_name: - 'NOAA Tidal Predictions'}, inplace=True) + station_df.rename(columns={observation_name: 'Observations', tidal_predictions_name: 'NOAA Tidal Predictions'}, inplace=True) # return the data to the caller return station_df.to_csv(index=False)