aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-20 15:41:18 +0300
committerBonfaceKilz2020-08-20 15:41:18 +0300
commit7f623509a4afded47eb8580451c146487d2ef662 (patch)
treea0bf0f1ae9c088035f1a65b11321691f63c6d162 /wqflask/base/data_set.py
parent09cb4a05526c73229428401f356251bbfe8bf1cd (diff)
downloadgenenetwork2-7f623509a4afded47eb8580451c146487d2ef662.tar.gz
Disable python2 QTLReaper
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r--wqflask/base/data_set.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 06e1c551..43beec26 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -34,7 +34,6 @@ from utility import webqtlUtil
from db import webqtlDatabaseFunction
from base import species
from base import webqtlConfig
-import reaper
from flask import Flask, g
import os
import math
@@ -456,12 +455,7 @@ class DatasetGroup(object):
full_filename = str(locate(self.genofile, 'genotype'))
else:
full_filename = str(locate(self.name + '.geno', 'genotype'))
-
- if use_reaper:
- genotype_1 = reaper.Dataset()
- genotype_1.read(full_filename)
- else:
- genotype_1 = gen_geno_ob.genotype(full_filename)
+ genotype_1 = gen_geno_ob.genotype(full_filename)
if genotype_1.type == "group" and self.parlist:
genotype_2 = genotype_1.add(