From b8af8e46c7da04aea1ad436b376e572de8a25aa4 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 22 May 2023 17:51:07 +0000 Subject: Fix quotes when setting genofile_path --- gn3/db/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/db') diff --git a/gn3/db/datasets.py b/gn3/db/datasets.py index 929707e..4352a2d 100644 --- a/gn3/db/datasets.py +++ b/gn3/db/datasets.py @@ -13,7 +13,7 @@ def retrieve_sample_list(group: str): """ samplelist = [] - genofile_path = f"{os.environ.get("GENENETWORK_FILES", "/home/gn2/production/genotype_files/")}/genotype/{group}.geno" + genofile_path = f"{os.environ.get('GENENETWORK_FILES', '/home/gn2/production/genotype_files/')}/genotype/{group}.geno" if os.path.isfile(genofile_path): with open(genofile_path, encoding="utf-8") as genofile: line = "" -- cgit v1.2.3