Skip to content

Commit

Permalink
fixing pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Oct 26, 2023
1 parent 1f4f704 commit 2783a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/pg_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ 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={'time_stamp': 'time',nowcast_column_name: 'APS Nowcast', observation_name: 'Observations',
station_df.rename(columns={'time_stamp': 'time', nowcast_column_name: 'APS Nowcast', observation_name: 'Observations',
tidal_predictions_name: 'NOAA Tidal Predictions'}, inplace=True)
else:
# rename the columns
station_df.rename(columns={'time_stamp': 'time',observation_name: 'Observations', tidal_predictions_name:
station_df.rename(columns={'time_stamp': 'time', observation_name: 'Observations', tidal_predictions_name:
'NOAA Tidal Predictions'}, inplace=True)

# return the data to the caller
Expand Down

0 comments on commit 2783a79

Please sign in to comment.