Skip to content

Commit

Permalink
no longer needed 'U' in open csv
Browse files Browse the repository at this point in the history
  • Loading branch information
JRPan committed Aug 28, 2024
1 parent 54b418b commit 6bb072e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/plotting/plot-correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def get_sim_csv_data(filepath, logger):
def parse_hw_csv_2(csv_file, hw_data, appargs, kdata, logger):
cfg = None

with open(csv_file, 'rU') as data_file:
with open(csv_file, 'r') as data_file:
logger.log("Parsing HW csv file {0}".format(csv_file))
reader = csv.reader(data_file) # define reader object
state = "start"
Expand Down Expand Up @@ -534,7 +534,7 @@ def parse_hw_csv(csv_file, hw_data, appargs, kdata, logger):
cfg = ""
cfg_col = None

with open(csv_file, 'rU') as data_file:
with open(csv_file, 'r') as data_file:
logger.log("Parsing HW csv file {0}".format(csv_file))
reader = csv.reader(data_file) # define reader object
state = "start"
Expand Down

0 comments on commit 6bb072e

Please sign in to comment.