aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-23 15:28:10 +0300
committerBonfaceKilz2020-08-23 15:28:10 +0300
commitab78dd757a7d11375e32637158ddcffc029a3113 (patch)
treedc9893c5a15329e1492735077563219ff092ab6a /wqflask
parent1f4fb6b24f3508d80be1f07cd62e38ac9385ef41 (diff)
downloadgenenetwork2-ab78dd757a7d11375e32637158ddcffc029a3113.tar.gz
Remove unused imports
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py13
-rw-r--r--wqflask/wqflask/news.py3
2 files changed, 1 insertions, 15 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 65360040..233a3a03 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -20,22 +20,11 @@
from __future__ import absolute_import, print_function, division
-import sys
-
-import string
-import pickle
-import os
-import time
-import pp
-import math
import collections
-import resource
import json
-
import scipy
import numpy
import rpy2.robjects as ro # R Objects
-import rpy2.rinterface as ri
from rpy2.robjects.packages import importr
utils = importr("utils")
@@ -648,4 +637,4 @@ def get_header_fields(data_type, corr_method):
'N',
'Sample p(r)']
- return header_fields \ No newline at end of file
+ return header_fields
diff --git a/wqflask/wqflask/news.py b/wqflask/wqflask/news.py
index 8bc6b889..20319756 100644
--- a/wqflask/wqflask/news.py
+++ b/wqflask/wqflask/news.py
@@ -1,7 +1,4 @@
from __future__ import absolute_import, print_function, division
-import sys
-reload(sys)
-sys.setdefaultencoding('utf8')
from flask import g
class News(object):