<commit_before>include_directories( ${RDKit_ExternalDir}/AvalonTools )
rdkit_python_extension(pyAvalonTools 
                       pyAvalonTools.cpp 
                       DEST Avalon
                       LINK_LIBRARIES 
                       AvalonLib avalon_clib SmilesParse FileParsers GraphMol DataStructs RDGeometryLib RDGeneral RDBoost)
add_test(pyAvalonTools ${PYTHON_EXECUTABLE} 
         ${CMAKE_CURRENT_SOURCE_DIR}/testAvalonTools.py)<commit_msg>only run avalon python testing when python wrappers are being built<commit_after>include_directories( ${RDKit_ExternalDir}/AvalonTools )
rdkit_python_extension(pyAvalonTools 
                       pyAvalonTools.cpp 
                       DEST Avalon
                       LINK_LIBRARIES 
                       AvalonLib avalon_clib SmilesParse FileParsers GraphMol DataStructs RDGeometryLib RDGeneral RDBoost)
add_pytest(pyAvalonTools ${PYTHON_EXECUTABLE} 
         ${CMAKE_CURRENT_SOURCE_DIR}/testAvalonTools.py)
{'fraction_non_alphanumeric': 0.044989775051124746, 'fraction_numerical': 0.0, 'mean_word_length': 2.6666666666666665, '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': '7136618', 'n_tokens_mistral': 309, 'n_tokens_neox': 279, 'n_words': 47}