<commit_before>#!/usr/bin/env python
import os, sys, shutil, subprocess

MOOSE_DIR = '../'
#### See if MOOSE_DIR is already in the environment instead
if os.environ.has_key("MOOSE_DIR"):
  MOOSE_DIR = os.environ['MOOSE_DIR']
sys.path.append(MOOSE_DIR + '/tests')<commit_msg>Fixing cluster_launcher.py - closes #1853<commit_after>#!/usr/bin/env python
import os, sys, shutil, subprocess

#### See if MOOSE_DIR is already in the environment instead
if os.environ.has_key("MOOSE_DIR"):
  MOOSE_DIR = os.environ['MOOSE_DIR']
else:
  MOOSE_DIR = os.path.abspath(os.path.dirname(sys.argv[0])) + '/..'
sys.path.append(MOOSE_DIR + '/tests')
{'fraction_non_alphanumeric': 0.15822784810126583, 'fraction_numerical': 0.007911392405063292, 'mean_word_length': 5.267326732673268, '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': '4995625', 'n_tokens_mistral': 249, 'n_tokens_neox': 248, 'n_words': 50}