Skip to content

Commit

Permalink
refactor: remove unnecessary join
Browse files Browse the repository at this point in the history
  • Loading branch information
rouille committed Jan 31, 2024
1 parent 22abb11 commit ff09d38
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/oge/eia930.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import re
from datetime import timedelta
import os
from os.path import join

import oge.load_data as load_data
from oge.column_checks import get_dtypes
Expand Down Expand Up @@ -152,9 +151,7 @@ def clean_930(year: int, small: bool = False, path_prefix: str = ""):
# Adjust
logger.info("Adjusting EIA-930 time stamps")
df = manual_930_adjust(df)
df.to_csv(
join(data_folder, "eia930_raw.csv")
) # Will be read by gridemissions workflow
df.to_csv(data_folder + "eia930_raw.csv") # Will be read by gridemissions workflow

# Run cleaning
logger.info("Running physics-based data cleaning")
Expand Down

0 comments on commit ff09d38

Please sign in to comment.