aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/db/datasets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/datasets.py b/gn3/db/datasets.py
index 38cd16c..4fdf797 100644
--- a/gn3/db/datasets.py
+++ b/gn3/db/datasets.py
@@ -15,7 +15,7 @@ def retrieve_sample_list(group: str):
samplelist = []
genofile_path = os.environ.get("GENENETWORK_FILES") + "/genotype/" + group + ".geno"
if os.path.isfile(genofile_path):
- with open(genofile_path, "r") as genofile:
+ with open(genofile_path, encoding="utf-8") as genofile:
line = ""
for line in genofile:
line = line.strip()