<commit_before>#!/usr/bin/env bats

@test "Testing assignPaths squash" {
    run ./assignPaths.py -H test/data/kobrite/ko00001.keg -l ko -l 3  -m test/data/ko.map.partial -v -s test/data/contig.CDSs.faa.vs.KEGG.lastal -o test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash
    [ "$status" = 0 ]
}
@test "Checking assignPaths squash output" {
    run diff test/data/contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash
    [ "$status" = 0 ]
}

@test "Testing assignPaths split" {
    run ./assignPaths.py -H test/data/kobrite/ko00001.keg -l ko -l 3  -m test/data/ko.map.partial -v test/data/contig.CDSs.faa.vs.KEGG.lastal -o test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split
    [ "$status" = 0 ]
}
@test "Checking assignPaths split output" {
    run diff test/data/contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split
    [ "$status" = 0 ]
}<commit_msg>fixing assign_paths test to reflect script name change<commit_after>#!/usr/bin/env bats

@test "Testing assign_paths squash" {
    run ./assign_paths.py -H test/data/kobrite/ko00001.keg -l ko -l 3  -m test/data/ko.map.partial -v -s test/data/contig.CDSs.faa.vs.KEGG.lastal -o test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash
    [ "$status" = 0 ]
}
@test "Checking assign_paths squash output" {
    run diff test/data/contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.squash
    [ "$status" = 0 ]
}

@test "Testing assign_paths split" {
    run ./assign_paths.py -H test/data/kobrite/ko00001.keg -l ko -l 3  -m test/data/ko.map.partial -v test/data/contig.CDSs.faa.vs.KEGG.lastal -o test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split
    [ "$status" = 0 ]
}
@test "Checking assign_paths split output" {
    run diff test/data/contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split test/data/.tst.contig.CDSs.faa.vs.KEGG.lastal.assignments.ko.3.split
    [ "$status" = 0 ]
}
{'fraction_non_alphanumeric': 0.16579819990525818, 'fraction_numerical': 0.020843202273803884, 'mean_word_length': 3.224, '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': '1525417', 'n_tokens_mistral': 945, 'n_tokens_neox': 901, 'n_words': 137}