<commit_before>import logging
import os
import os.path
import tempfile
import shutil
import sys
from optparse import OptionParser
from contextlib import contextmanager
from path import Path
from subprocess import PIPE
from pynpact import parsing, executors
from __init__ import binfile, DATAPATH
import capproc
import util

logger = logging.getLogger('pynpact')

from pynpact.steps import extract, allplots, acgt_gamma, nprofile


def resolve_verb(verb):
    "Convert the verb into something that has the plan function"
    mod = {'extract': extract,
           'nprofile': nprofile,
           'allplots': allplots,
           'acgt_gamma': acgt_gamma}[verb]
    return mod.plan

<commit_msg>Remove unused imports<commit_after>import logging
import os
from contextlib import contextmanager
from path import Path
from pynpact import parsing, executors

logger = logging.getLogger('pynpact')

from pynpact.steps import extract, allplots, acgt_gamma, nprofile


def resolve_verb(verb):
    "Convert the verb into something that has the plan function"
    mod = {'extract': extract,
           'nprofile': nprofile,
           'allplots': allplots,
           'acgt_gamma': acgt_gamma}[verb]
    return mod.plan


{'fraction_non_alphanumeric': 0.06776859504132231, 'fraction_numerical': 0.0, 'mean_word_length': 4.109704641350211, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '479433', 'n_tokens_mistral': 353, 'n_tokens_neox': 342, 'n_words': 125}