diff options
author | BonfaceKilz | 2020-08-20 15:41:18 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-08-20 15:41:18 +0300 |
commit | 7f623509a4afded47eb8580451c146487d2ef662 (patch) | |
tree | a0bf0f1ae9c088035f1a65b11321691f63c6d162 /wqflask/base | |
parent | 09cb4a05526c73229428401f356251bbfe8bf1cd (diff) | |
download | genenetwork2-7f623509a4afded47eb8580451c146487d2ef662.tar.gz |
Disable python2 QTLReaper
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/data_set.py | 8 |
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( |