<commit_before># Pull in MoleQueue -- just for QtJson right now...
find_package(MoleQueue REQUIRED NO_MODULE)
include_directories(${MoleQueue_INCLUDE_DIRS})

set(scriptfileformats_srcs
  scriptfileformats.cpp
  fileformatscript.cpp
)

avogadro_plugin(ScriptFileFormats
  "Scriptable file formats"
  ExtensionPlugin
  scriptfileformats.h
  ScriptFileFormats
  "${scriptfileformats_srcs}"
  ""
)

target_link_libraries(ScriptFileFormats LINK_PRIVATE AvogadroQuantumIO)

# Bundled format scripts:
set(format_scripts
  formatScripts/zyx.py
  formatScripts/cclibScript.py
)

install(PROGRAMS ${format_scripts}
  DESTINATION "${INSTALL_LIBRARY_DIR}/avogadro2/scripts/formatScripts/")<commit_msg>Remove the dependency on MoleQueue<commit_after>set(scriptfileformats_srcs
  scriptfileformats.cpp
  fileformatscript.cpp
)

avogadro_plugin(ScriptFileFormats
  "Scriptable file formats"
  ExtensionPlugin
  scriptfileformats.h
  ScriptFileFormats
  "${scriptfileformats_srcs}"
  ""
)

target_link_libraries(ScriptFileFormats LINK_PRIVATE AvogadroQuantumIO)

# Bundled format scripts:
set(format_scripts
  formatScripts/zyx.py
  formatScripts/cclibScript.py
)

install(PROGRAMS ${format_scripts}
  DESTINATION "${INSTALL_LIBRARY_DIR}/avogadro2/scripts/formatScripts/")
{'fraction_non_alphanumeric': 0.07882165605095541, 'fraction_numerical': 0.0015923566878980893, 'mean_word_length': 7.109677419354838, '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': '6737722', 'n_tokens_mistral': 447, 'n_tokens_neox': 437, 'n_words': 64}