From ab78dd757a7d11375e32637158ddcffc029a3113 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Sun, 23 Aug 2020 15:28:10 +0300 Subject: Remove unused imports --- wqflask/wqflask/correlation/show_corr_results.py | 13 +------------ wqflask/wqflask/news.py | 3 --- 2 files changed, 1 insertion(+), 15 deletions(-) (limited to 'wqflask') 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): -- cgit v1.2.3