From d9f1201cd7887715abb7efdf85cccbe82bac3f62 Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Mon, 6 Nov 2023 09:21:13 -0800 Subject: [PATCH] Remove unused imports in cigar_tools and contig_sticher --- micall/core/contig_stitcher.py | 14 +------------- micall/utils/cigar_tools.py | 5 +---- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/micall/core/contig_stitcher.py b/micall/core/contig_stitcher.py index 8f33a7d2d..3d8c6aa08 100644 --- a/micall/core/contig_stitcher.py +++ b/micall/core/contig_stitcher.py @@ -1,18 +1,6 @@ -import argparse -import logging -import os from typing import Iterable, Optional, Tuple, List -from collections import Counter, deque -from csv import DictWriter, DictReader +from collections import deque from dataclasses import dataclass -from datetime import datetime -from glob import glob -from io import StringIO -from itertools import chain -from operator import itemgetter -from shutil import rmtree -from subprocess import run, PIPE, CalledProcessError, STDOUT -from tempfile import mkdtemp from mappy import Aligner from functools import cached_property from gotoh import align_it diff --git a/micall/utils/cigar_tools.py b/micall/utils/cigar_tools.py index cffab829d..f39653fc9 100644 --- a/micall/utils/cigar_tools.py +++ b/micall/utils/cigar_tools.py @@ -4,11 +4,8 @@ from math import ceil, floor import re -from typing import List, Tuple, Iterable, Optional -from collections import OrderedDict +from typing import Tuple, Iterable, Optional from dataclasses import dataclass -import itertools -import copy from functools import cached_property from micall.utils.consensus_aligner import CigarActions