<commit_before>from app.lookups.sqlite import (proteingroups, quant, searchspace,
                                biosets, spectra, prottable, psms)


def get_lookup(fn, lookuptype):
    lookupmap = {'biosets': biosets.BioSetDB,
                 'spectra': spectra.SpectraDB,
                 'psm': psms.PSMDB,
                 'proteingroups': proteingroups.ProteinGroupDB,
                 'quant': quant.QuantDB,
                 'isoquant': quant.IsobaricQuantDB,
                 'ms1quant': quant.PrecursorQuantDB,
                 'searchspace': searchspace.SearchSpaceDB,
                 'peptidetable': prottable.PepTableDB,
                 'prottable': prottable.ProtTableDB,
                 }
    return lookupmap[lookuptype](fn)
<commit_msg>New module correctly referred to<commit_after>from app.lookups.sqlite import (proteingroups, quant, searchspace,
                                biosets, spectra, prottable, psms,
                                peptable)


def get_lookup(fn, lookuptype):
    lookupmap = {'biosets': biosets.BioSetDB,
                 'spectra': spectra.SpectraDB,
                 'psm': psms.PSMDB,
                 'proteingroups': proteingroups.ProteinGroupDB,
                 'quant': quant.QuantDB,
                 'isoquant': quant.IsobaricQuantDB,
                 'ms1quant': quant.PrecursorQuantDB,
                 'searchspace': searchspace.SearchSpaceDB,
                 'peptidetable': peptable.PepTableDB,
                 'prottable': prottable.ProtTableDB,
                 }
    return lookupmap[lookuptype](fn)

{'fraction_non_alphanumeric': 0.09466327827191867, 'fraction_numerical': 0.0012706480304955528, 'mean_word_length': 1.802491103202847, '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': '189728', 'n_tokens_mistral': 455, 'n_tokens_neox': 442, 'n_words': 77}