<commit_before>#!/bin/sh

base=${0%/*}/..;
current=`pwd`;
java=${java.location};
args="${java.args}";

for file in `ls $base/lib`
do
  jars=$jars:$base/lib/$file;
done

classpath="$jars:$base/config";

$java $args -classpath $classpath uk.ac.ebi.fgpt.goci.pussycat.GOCIPussycatMetricsDriver $@ 2>&1;
exit $?;<commit_msg>goci-pussycat-metrics: tweakiing script so classpath puts config/ directory first, thereby forcing log4j to preferentially use the config in here instead of that present in the pussycat jar<commit_after>#!/bin/sh

base=${0%/*}/..;
current=`pwd`;
java=${java.location};
args="${java.args}";

for file in `ls $base/lib`
do
  jars=$jars:$base/lib/$file;
done

classpath="$base/config:$jars";

$java $args -classpath $classpath uk.ac.ebi.fgpt.goci.pussycat.GOCIPussycatMetricsDriver $@ 2>&1;
exit $?;
{'fraction_non_alphanumeric': 0.1875, 'fraction_numerical': 0.00857843137254902, 'mean_word_length': 5.588709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5215481', 'n_tokens_mistral': 321, 'n_tokens_neox': 307, 'n_words': 68}