<commit_before>'''
Converts basis set data to a specified output format
'''

from .bsejson import write_json
from .nwchem import write_nwchem
from .g94 import write_g94, write_xtron
from .gamess_us import write_gamess_us
from .gamess_uk import write_gamess_uk
from .psi4 import write_psi4
from .turbomole import write_turbomole
from .molpro import write_molpro
from .cfour import write_cfour
from .dalton import write_dalton
from .qcschema import write_qcschema
from .demon2k import write_demon2k
from .bsedebug import write_bsedebug

_converter_map = {
    'nwchem': {
        'display': 'NWChem',
        'extension': '.nw',
        'comment': '#',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_nwchem
    },
    'gaussian94': {
        'display': 'Gaussian94',
        'extension': '.gbs',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_g94
    },
    'psi4': {
        'display': 'Psi4',
        'extension': '.gbs',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_psi4
    },
    'dalton': {
        'display': 'Dalton',
        'extension': '.dalton',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_dalton
    },
    'qcschema': {
        'display': 'Dalton',
        'extension': '.dalton',
        'comment': None,<commit_msg>Fix display name/extension of qcschema output<commit_after>'''
Converts basis set data to a specified output format
'''

from .bsejson import write_json
from .nwchem import write_nwchem
from .g94 import write_g94, write_xtron
from .gamess_us import write_gamess_us
from .gamess_uk import write_gamess_uk
from .psi4 import write_psi4
from .turbomole import write_turbomole
from .molpro import write_molpro
from .cfour import write_cfour
from .dalton import write_dalton
from .qcschema import write_qcschema
from .demon2k import write_demon2k
from .bsedebug import write_bsedebug

_converter_map = {
    'nwchem': {
        'display': 'NWChem',
        'extension': '.nw',
        'comment': '#',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_nwchem
    },
    'gaussian94': {
        'display': 'Gaussian94',
        'extension': '.gbs',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_g94
    },
    'psi4': {
        'display': 'Psi4',
        'extension': '.gbs',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_psi4
    },
    'dalton': {
        'display': 'Dalton',
        'extension': '.dalton',
        'comment': '!',
        'valid': set(['cartesian_gto', 'spherical_gto', 'scalar_ecp']),
        'function': write_dalton
    },
    'qcschema': {
        'display': 'QCSchema',
        'extension': '.json',
        'comment': None,
{'fraction_non_alphanumeric': 0.14842726081258192, 'fraction_numerical': 0.011140235910878113, 'mean_word_length': 3.043708609271523, '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': '4613060', 'n_tokens_mistral': 1073, 'n_tokens_neox': 1045, 'n_words': 242}