<commit_before>#!/bin/bash

if [ $# -ne 1 ]; then
	echo "Usage: $0 DAXFILE"
	exit 1
fi

DAXFILE=$1

# This command tells Pegasus to plan the workflow contained in 
# "diamond.dax" using the config file "pegasus.conf". The planned
# workflow will be stored in a relative directory named "submit".
# The execution site is "PegasusVM" and the output site is "local".
# --force tells Pegasus not to prune anything from the workflow, and
# --nocleanup tells Pegasus not to generate cleanup jobs.
pegasus-plan --conf pegasus.conf -d $DAXFILE --dir submit \
	--force --sites PegasusVM -o local --nocleanup<commit_msg>tutorial: --nocleanup to --cleanup none<commit_after>#!/bin/bash

if [ $# -ne 1 ]; then
	echo "Usage: $0 DAXFILE"
	exit 1
fi

DAXFILE=$1

# This command tells Pegasus to plan the workflow contained in 
# "diamond.dax" using the config file "pegasus.conf". The planned
# workflow will be stored in a relative directory named "submit".
# The execution site is "PegasusVM" and the output site is "local".
# --force tells Pegasus not to prune anything from the workflow, and
# --nocleanup tells Pegasus not to generate cleanup jobs.
pegasus-plan --conf pegasus.conf -d $DAXFILE --dir submit \
	--force --sites PegasusVM -o local --cleanup none
{'fraction_non_alphanumeric': 0.10328262610088071, 'fraction_numerical': 0.006405124099279423, 'mean_word_length': 3.699248120300752, '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': '1426463', 'n_tokens_mistral': 421, 'n_tokens_neox': 393, 'n_words': 172}