aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/datasets.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db/datasets.py')
-rw-r--r--gn3/db/datasets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/db/datasets.py b/gn3/db/datasets.py
index 470e430..38cd16c 100644
--- a/gn3/db/datasets.py
+++ b/gn3/db/datasets.py
@@ -16,6 +16,7 @@ def retrieve_sample_list(group: str):
genofile_path = os.environ.get("GENENETWORK_FILES") + "/genotype/" + group + ".geno"
if os.path.isfile(genofile_path):
with open(genofile_path, "r") as genofile:
+ line = ""
for line in genofile:
line = line.strip()
if not line: