From 9c99f1b6fed878589d7da696b4a4dc9b04eb0502 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Sun, 9 Oct 2022 17:50:17 +0300 Subject: 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. --- wqflask/wqflask/correlation/show_corr_results.py | 6 ------ wqflask/wqflask/db_info.py | 1 - 2 files changed, 7 deletions(-) (limited to 'wqflask') 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 -- cgit v1.2.3