<commit_before>import sys; sys.path.append( "lib" )

import unittest, doctest
import bx.bitset_tests
import bx.align.maf_tests
import bx.align.score_tests
import bx.intervals.io
import bx.phylo.newick_tests
import bx.phylo.phast_tests
import bx.seqmapping_tests

tests = []

# Modules with doctests
tests.append( doctest.DocTestSuite( bx.intervals.io ) )
tests.append( doctest.DocTestSuite( bx.intervals.intersection ) )

# Standalone test suites
tests.append( bx.phylo.newick_tests.suite )
tests.append( bx.phylo.phast_tests.suite )
tests.append( bx.bitset_tests.suite )
tests.append( bx.align.maf_tests.suite )
tests.append( bx.align.score_tests.suite )
tests.append( bx.seqmapping_tests.suite )

suite = unittest.TestSuite( tests )<commit_msg>added nib_tests.py<commit_after>import sys; sys.path.append( "lib" )

import unittest, doctest
import bx.bitset_tests
import bx.align.maf_tests
import bx.align.score_tests
import bx.intervals.io
import bx.phylo.newick_tests
import bx.phylo.phast_tests
import bx.seqmapping_tests
import bx.seq.nib_tests

tests = []

# Modules with doctests
tests.append( doctest.DocTestSuite( bx.intervals.io ) )
tests.append( doctest.DocTestSuite( bx.intervals.intersection ) )

# Standalone test suites
tests.append( bx.phylo.newick_tests.suite )
tests.append( bx.phylo.phast_tests.suite )
tests.append( bx.bitset_tests.suite )
tests.append( bx.align.maf_tests.suite )
tests.append( bx.align.score_tests.suite )
tests.append( bx.seqmapping_tests.suite )
tests.append( bx.seq.nib_tests.suite )

suite = unittest.TestSuite( tests )
{'fraction_non_alphanumeric': 0.11089743589743589, 'fraction_numerical': 0.0, 'mean_word_length': 5.397540983606557, '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': '3150328', 'n_tokens_mistral': 595, 'n_tokens_neox': 583, 'n_words': 103}