From dab393d6e8b109e3914e49b66df010569c1f03a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk> Date: Tue, 22 Mar 2022 17:00:19 +0000 Subject: [PATCH] rm unused imports --- extraction/core/extractor.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/extraction/core/extractor.py b/extraction/core/extractor.py index 39713f2a..966ba21e 100644 --- a/extraction/core/extractor.py +++ b/extraction/core/extractor.py @@ -1,19 +1,10 @@ -import os -from pathlib import Path, PosixPath - -from collections.abc import Iterable import logging from time import perf_counter -# from copy import copy from typing import Union, List, Dict, Callable -from datetime import datetime import numpy as np import pandas as pd -from scipy.sparse import dok_matrix, vstack, issparse -from tqdm import tqdm - from extraction.core.functions.loaders import ( load_funs, @@ -30,15 +21,13 @@ from agora.io.writer import Writer, load_attributes from agora.io.cells import CellsLinear from aliby.tile.tiler import Tiler -import matplotlib.pyplot as plt - CELL_FUNS, TRAPFUNS, FUNS = load_funs() CUSTOM_FUNS, CUSTOM_ARGS = load_custom_args() RED_FUNS = load_redfuns() MERGE_FUNS = load_mergefuns() # Assign datatype depending on the metric used -m2type = {"mean": np.float32, "median": np.ubyte, "imBackground": np.ubyte} +# m2type = {"mean": np.float32, "median": np.ubyte, "imBackground": np.ubyte} class ExtractorParameters(ParametersABC): -- GitLab