<commit_before>from .data_trans.neuron_data import NeuronCSVDataTranslator
from .data_trans.connections import (NeuronConnectomeCSVTranslator,
                                     NeuronConnectomeSynapseClassTranslator)
from .data_trans.wormatlas import WormAtlasCellListDataTranslator
from .data_trans.wormbase import (WormbaseTextMatchCSVTranslator,
                                  MuscleWormBaseCSVTranslator,
                                  NeuronWormBaseCSVTranslator,
                                  WormbaseIDSetter,
                                  WormbaseIonChannelCSVTranslator)


def owm_data(ns):
    ctx = ns.context
    ctx.add_import(NeuronCSVDataTranslator.definition_context)
    ctx(MuscleWormBaseCSVTranslator)()
    ctx(NeuronConnectomeCSVTranslator)()
    ctx(NeuronConnectomeSynapseClassTranslator)()
    ctx(NeuronCSVDataTranslator)()
    ctx(NeuronWormBaseCSVTranslator)()
    ctx(WormAtlasCellListDataTranslator)()
    ctx(WormbaseIDSetter)()
    ctx(WormbaseIonChannelCSVTranslator)()
    ctx(WormbaseTextMatchCSVTranslator)()<commit_msg>Adding context merge data translator to .translators<commit_after>from .data_trans.neuron_data import NeuronCSVDataTranslator
from .data_trans.connections import (NeuronConnectomeCSVTranslator,
                                     NeuronConnectomeSynapseClassTranslator)
from .data_trans.wormatlas import WormAtlasCellListDataTranslator
from .data_trans.wormbase import (WormbaseTextMatchCSVTranslator,
                                  MuscleWormBaseCSVTranslator,
                                  NeuronWormBaseCSVTranslator,
                                  WormbaseIDSetter,
                                  WormbaseIonChannelCSVTranslator)
from .data_trans.context_merge import ContextMergeDataTranslator


def owm_data(ns):
    ctx = ns.context
    ctx.add_import(NeuronCSVDataTranslator.definition_context)
    ctx.add_import(ContextMergeDataTranslator.definition_context)
    ctx(MuscleWormBaseCSVTranslator)()
    ctx(NeuronConnectomeCSVTranslator)()
    ctx(NeuronConnectomeSynapseClassTranslator)()
    ctx(NeuronCSVDataTranslator)()
    ctx(NeuronWormBaseCSVTranslator)()
    ctx(WormAtlasCellListDataTranslator)()
    ctx(WormbaseIDSetter)()
    ctx(WormbaseIonChannelCSVTranslator)()
    ctx(WormbaseTextMatchCSVTranslator)()
    ctx(ContextMergeDataTranslator)()
{'fraction_non_alphanumeric': 0.05994897959183673, 'fraction_numerical': 0.0, 'mean_word_length': 3.2320143884892087, '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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5071696', 'n_tokens_mistral': 765, 'n_tokens_neox': 718, 'n_words': 81}