<commit_before>import getopt, sys

def main():
    try:
        opts, args = getopt.getopt(sys.argv[1:], "f:l:")
    except getopt.GetoptError as err:
        print str(err)
        sys.exit(2)
    fileString = ''
    loc = ''
    for opt, arg in opts:
        if opt == "-f":
            fileString = arg
        elif opt == "-l"
            loc = arg
    files = fileString.split(",")
    print files
    
if __name__ == "__main__":
    main()<commit_msg>updated testing script, hopefully complete<commit_after>import getopt, sys, subprocess

def main():
    try:
        opts, args = getopt.getopt(sys.argv[1:], "f:l:")
    except getopt.GetoptError as err:
        print str(err)
        sys.exit(2)
    fileString = ''
    loc = ''
    for opt, arg in opts:
        if opt == "-f":
            fileString = arg
        elif opt == "-l":
            loc = arg
    files = fileString.split(",")
    subprocess.Popen("source /cvmfs/oasis.opensciencegrid.org/osg/modules/lmod/5.6.2/init/bash")
    subprocess.Popen("module load xrootd/4.1.1 2>&1")
    subprocess.Popen("source ./setStashCache.sh")
    for f in files:
        subprocess.Popen("bash ./stashcp {!s} {!s}".format(f, loc))
    
    
if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.14910858995137763, 'fraction_numerical': 0.009724473257698542, 'mean_word_length': 2.1424936386768447, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 4, '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': '3050312', 'n_tokens_mistral': 429, 'n_tokens_neox': 427, 'n_words': 103}