aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-10-09 17:50:17 +0300
committerBonfaceKilz2022-11-08 11:22:05 +0300
commit9c99f1b6fed878589d7da696b4a4dc9b04eb0502 (patch)
treeabfc1b2e6b72d2af2d356f6ced7740e963ca4b49 /wqflask
parent5c9d2f440c15d3c76a21fe79670581ec41f96e26 (diff)
downloadgenenetwork2-9c99f1b6fed878589d7da696b4a4dc9b04eb0502.tar.gz
Remove unused imports
* wqflask/wqflask/correlation/show_corr_results.py: Delete os, Path, TMPDIR, fetch_all_cached_metadata and cache_new_traits_metadata. * wqflask/wqflask/db_info.py: Remove http.client.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py6
-rw-r--r--wqflask/wqflask/db_info.py1
2 files changed, 0 insertions, 7 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index d3e50972..d776c8d3 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -19,15 +19,9 @@
# This module is used by GeneNetwork project (www.genenetwork.org)
import json
-import os
-from pathlib import Path
from base.trait import create_trait, jsonable
from base.data_set import create_dataset
-from base.webqtlConfig import TMPDIR
-
-from wqflask.correlation.pre_computes import fetch_all_cached_metadata
-from wqflask.correlation.pre_computes import cache_new_traits_metadata
from utility import hmac
from utility.type_checking import get_float, get_int, get_string
diff --git a/wqflask/wqflask/db_info.py b/wqflask/wqflask/db_info.py
index 88c7aa2b..3dff422f 100644
--- a/wqflask/wqflask/db_info.py
+++ b/wqflask/wqflask/db_info.py
@@ -1,4 +1,3 @@
-import http.client
import urllib.request
import urllib.error
import urllib.parse