<commit_before># this assumes that the virtual environment in called venv and directly one step up this directory
activate_this = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../venv/bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))


import os
import ckanserviceprovider.web as web
import datapusher.jobs as jobs

# check whether jobs have been imported properly
assert(jobs.push_to_datastore)

web.configure()
application = web.app<commit_msg>fix imports<commit_after>import os
import ckanserviceprovider.web as web
import datapusher.jobs as jobs

# this assumes that the virtual environment in called venv and directly one step up this directory
activate_this = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../venv/bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))

# check whether jobs have been imported properly
assert(jobs.push_to_datastore)

web.configure()
application = web.app
{'fraction_non_alphanumeric': 0.0889348500517063, 'fraction_numerical': 0.0, 'mean_word_length': 6.2781954887218046, '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': '6764874', 'n_tokens_mistral': 289, 'n_tokens_neox': 287, 'n_words': 85}