aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 19:12:33 +0300
committerBonfaceKilz2020-08-26 19:12:33 +0300
commit303e4b71c2172da5be19c84d4be5a062329ac013 (patch)
tree130496e7b4c6fe2157c14abd50be941823ed40b9 /wqflask/base
parent7717f0d3d4802d115a8b5ace4d379864ba5b1188 (diff)
downloadgenenetwork2-303e4b71c2172da5be19c84d4be5a062329ac013.tar.gz
Remove "from __future__ import new_feature" statements
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py1
-rw-r--r--wqflask/base/mrna_assay_tissue_data.py4
-rw-r--r--wqflask/base/species.py4
-rw-r--r--wqflask/base/trait.py2
4 files changed, 2 insertions, 9 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 39a8a2ed..8ac7a279 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -18,7 +18,6 @@
#
# This module is used by GeneNetwork project (www.genenetwork.org)
-from __future__ import absolute_import, print_function, division
from db.call import fetchall, fetchone, fetch1
from utility.logger import getLogger
from utility.tools import USE_GN_SERVER, USE_REDIS, flat_files, flat_file_exists, GN2_BASE_URL
diff --git a/wqflask/base/mrna_assay_tissue_data.py b/wqflask/base/mrna_assay_tissue_data.py
index 6fec5dcd..33ce12bd 100644
--- a/wqflask/base/mrna_assay_tissue_data.py
+++ b/wqflask/base/mrna_assay_tissue_data.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, print_function, division
-
import collections
from flask import g
@@ -92,4 +90,4 @@ class MrnaAssayTissueData(object):
else:
symbol_values_dict[result.Symbol.lower()].append(result.value)
- return symbol_values_dict \ No newline at end of file
+ return symbol_values_dict
diff --git a/wqflask/base/species.py b/wqflask/base/species.py
index 6d99af65..e3f1bc4a 100644
--- a/wqflask/base/species.py
+++ b/wqflask/base/species.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, print_function, division
-
import collections
from flask import Flask, g
@@ -59,4 +57,4 @@ class Chromosomes(object):
results = g.db.execute(query).fetchall()
for item in results:
- self.chromosomes[item.OrderId] = IndChromosome(item.Name, item.Length) \ No newline at end of file
+ self.chromosomes[item.OrderId] = IndChromosome(item.Name, item.Length)
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 09c41fa7..b20efd2a 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, division, print_function
-
import os
import string
import resource