<commit_before>#!/bin/bash

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

PORT=5000
# This should be the directory name/app name
APP="perl5/ensembl-rest"
PIDFILE="$HOME/$APP.pid"
STATUS="$HOME/$APP.status"

export HOME=/home/ubuntu
export ENS_CVS_ROOT_DIR=$HOME/perl5/ensembl-api
if [ -z "$ENS_CVS_ROOT_DIR" ]; then
  export ENS_CVS_ROOT_DIR=$(cd $SCRIPT_DIR/../../../ && pwd)
fi

# The actual path on disk to the application.
APP_HOME=$(cd $SCRIPT_DIR/../../ && pwd)

# Library path work
for ensdir in ensembl-variation ensemb-functgenomics ensembl-compara ensembl; do
  PERL5LIB=$ENS_CVS_ROOT_DIR/$ensdir/modules:$PERL5LIB
done
PERL5LIB=$ENS_CVS_ROOT_DIR/bioperl-live:$PERL5LIB
PERL5LIB=$APP_HOME/lib:$PERL5LIB
export PERL5LIB<commit_msg>missed the l in ensembl for functgenomics<commit_after>#!/bin/bash

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

PORT=5000
# This should be the directory name/app name
APP="perl5/ensembl-rest"
PIDFILE="$HOME/$APP.pid"
STATUS="$HOME/$APP.status"

export HOME=/home/ubuntu
export ENS_CVS_ROOT_DIR=$HOME/perl5/ensembl-api
if [ -z "$ENS_CVS_ROOT_DIR" ]; then
  export ENS_CVS_ROOT_DIR=$(cd $SCRIPT_DIR/../../../ && pwd)
fi

# The actual path on disk to the application.
APP_HOME=$(cd $SCRIPT_DIR/../../ && pwd)

# Library path work
for ensdir in ensembl-variation ensembl-functgenomics ensembl-compara ensembl; do
  PERL5LIB=$ENS_CVS_ROOT_DIR/$ensdir/modules:$PERL5LIB
done
PERL5LIB=$ENS_CVS_ROOT_DIR/bioperl-live:$PERL5LIB
PERL5LIB=$APP_HOME/lib:$PERL5LIB
export PERL5LIB
{'fraction_non_alphanumeric': 0.1553398058252427, 'fraction_numerical': 0.018122977346278317, 'mean_word_length': 5.362139917695473, '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': '3849988', 'n_tokens_mistral': 649, 'n_tokens_neox': 601, 'n_words': 121}