Skip to content

Commit

Permalink
Remove BOM from well name (#259)
Browse files Browse the repository at this point in the history
specify encoding to remove BOM
  • Loading branch information
ieivanov authored Nov 21, 2024
1 parent 1957ea0 commit 71ec62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iohub/rename_wells.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def rename_wells(zarr_store_path: str | Path, csv_file_path: str | Path):

# read and check csv
name_pair_list = []
with open(csv_file_path, "r") as csv_file:
with open(csv_file_path, mode="r", encoding="utf-8-sig") as csv_file:
for row in csv.reader(csv_file):
if len(row) != 2:
raise ValueError(
Expand Down

0 comments on commit 71ec62c

Please sign in to comment.