<commit_before>***************
Running scripts
***************

Convert CMFGEN files to TARDIS file format
==========================================

This script takes a CMFGEN file as an input , and an output path to save the converted CSV file in new TARDIS file format. 
CSV file contains abundances of both elements and isotopes.

Format of command - :code:`cmfgen2tardis /path/to/input_file path/to/output/`  

Example, for how to use-  


.. code-block:: bash

   $ cmfgen2tardis tardis_example/DDC15_SN_HYDRO_DATA_0.976d tardis_example/<commit_msg>Mention about DAT files, in  scripts doc<commit_after>***************
Running scripts
***************

Convert CMFGEN files to TARDIS file format
==========================================

This script takes a CMFGEN file as an input , and an output path to save converted files in new TARDIS file format. 
CSV file contains abundances of both elements and isotopes.
DAT file contains values of velocity, density, electron_density and temperature.  

Format of command - :code:`cmfgen2tardis /path/to/input_file path/to/output/`  

Example, for how to use-  


.. code-block:: bash

   $ cmfgen2tardis tardis_example/DDC15_SN_HYDRO_DATA_0.976d tardis_example/
{'fraction_non_alphanumeric': 0.16790123456790124, 'fraction_numerical': 0.01316872427983539, 'mean_word_length': 4.818181818181818, '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': '867035', 'n_tokens_mistral': 375, 'n_tokens_neox': 358, 'n_words': 131}