Skip to content

Commit

Permalink
gen_nmf: added utf-8 encoding for reading the gene set files
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdubybroad committed Aug 22, 2024
1 parent 0ce613c commit a8fc902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/novelty/gene_nmf/dcc/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def read_tab_delimited_file(file_path, log=False):
result = {}

# read in the data
with open(file_path, 'r') as file:
with open(file_path, 'r', encoding='utf-8') as file:
for line in file:
fields = line.strip().split('\t')
stripped_list = [item.strip() for item in fields]
Expand Down

0 comments on commit a8fc902

Please sign in to comment.