<commit_before><macros>
    <token name="@WRAPPER_VERSION@">0.1.0</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="0.18.2">csvtk</requirement>
        </requirements>
    </xml>
    <xml name="multi_input">
        <param type="data" name="in_1" format="csv,tabular"
        multiple="true" optional="false"
        label="Specify TSV or CSV file inputs"
        help="Input tsv or csv files to analyze. HOWEVER, they must all be the **same file type** or the tool will fail/not give results!" />
    </xml>
    <xml name="singular_input">
        <param type="data" name="in_1" format="csv,tabular"
        multiple="false" optional="false"
        label="Specify an input TSV or CSV file"
        help="Input a TSV or CSV file to work on" />
    </xml>
    <xml name="ignore_case">
        <param type="boolean" name="ignore_case"
        falsevalue="" truevalue="-i"
        checked="true"
        label="Ignore cell case?"
        help="ABC == abc" />
    </xml>
    <xml name="header">
        <param type="boolean" name="header"
        falsevalue="-H" truevalue=""
        checked="true"
        label="Input file has a header line"
        help="Specify if input has a header line" />
    </xml>
    <xml name="illegal_rows">
        <param type="boolean" name="illegal_rows"
        falsevalue="" truevalue="-I"
        label="Ignore illegal rows"
        help="Ignore illegal rows (only needed if input has illegal rows)" />
    </xml>
    <xml name="empty_rows">
        <param type="boolean" name="empty_rows"
        falsevalue="" truevalue="-E"
        label="Ignore empty rows"
        help="Ignore rows with no data (only needed if input has empty rows)" />
    </xml>
    <xml name="fields_input">
        <conditional name="column_text" >
            <param type="select" name="select" label="Select columns based on" >
                <option value="column">Column Number(s)</option>
                <option value="string">Column Name(s)</option>
            </param>
            <when value="column">
                <param type="data_column" name="in_text"
                        data_ref="in_1"
                        multiple="True" force_select="True"
                        label="Analyze column number(s)"
                        help="Select columns to use. Column headers
                        DON'T have to match, just the values in the columns" />
            </when>
            <when value="string">
                <param type="text" name="in_text"
                optional="false"
                label="Analyze column name(s)"
                help="Specify column name(s) to use. Multiple names can be given if separated by a ' , '.
                Please see the help section for examples on using multiple names" />
            </when>
        </conditional>
    </xml>
    <token name="@HELP_INPUT_DATA@">
Input Data
##########

::

    **Limitations of Input Data**

    1. The CSV parser requires all the lines have same number of fields/columns.
        Even lines with spaces will cause error.
        Example bad table below.

    2. Column names should be unique!
<commit_msg>small help update<commit_after><macros>
    <token name="@WRAPPER_VERSION@">0.1.0</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="0.18.2">csvtk</requirement>
        </requirements>
    </xml>
    <xml name="multi_input">
        <param type="data" name="in_1" format="csv,tabular"
        multiple="true" optional="false"
        label="Specify TSV or CSV file inputs"
        help="Input tsv or csv files to analyze. HOWEVER, they must all be the **same file type** or the tool will fail/not give results!" />
    </xml>
    <xml name="singular_input">
        <param type="data" name="in_1" format="csv,tabular"
        multiple="false" optional="false"
        label="Specify an input TSV or CSV file"
        help="Input a TSV or CSV file to work on" />
    </xml>
    <xml name="ignore_case">
        <param type="boolean" name="ignore_case"
        falsevalue="" truevalue="-i"
        checked="true"
        label="Ignore cell case?"
        help="ABC == abc" />
    </xml>
    <xml name="header">
        <param type="boolean" name="header"
        falsevalue="-H" truevalue=""
        checked="true"
        label="Input file has a header line"
        help="Specify if input has a header line" />
    </xml>
    <xml name="illegal_rows">
        <param type="boolean" name="illegal_rows"
        falsevalue="" truevalue="-I"
        label="Ignore illegal rows"
        help="Ignore illegal rows (only needed if input has illegal rows)" />
    </xml>
    <xml name="empty_rows">
        <param type="boolean" name="empty_rows"
        falsevalue="" truevalue="-E"
        label="Ignore empty rows"
        help="Ignore rows with no data (only needed if input has empty rows)" />
    </xml>
    <xml name="fields_input">
        <conditional name="column_text" >
            <param type="select" name="select" label="Select columns based on" >
                <option value="column">Column Number(s)</option>
                <option value="string">Column Name(s)</option>
            </param>
            <when value="column">
                <param type="data_column" name="in_text"
                        data_ref="in_1"
                        multiple="True" force_select="True"
                        label="Analyze column number(s)"
                        help="Select columns to use. Column headers
                        DON'T have to match, just the values in the columns" />
            </when>
            <when value="string">
                <param type="text" name="in_text"
                optional="false"
                label="Analyze column name(s)"
                help="Specify column name(s) to use. Multiple names can be given if separated by a ' , '.
                Column numbers can also be given here, ex. '1,2,3' for columns 1-3 as an input.
                Please see the help section for examples on using multiple names" />
            </when>
        </conditional>
    </xml>
    <token name="@HELP_INPUT_DATA@">
Input Data
##########

::

    **Limitations of Input Data**

    1. The CSV parser requires all the lines have same number of fields/columns.
        Even lines with spaces will cause error.
        Example bad table below.

    2. Column names should be unique!

{'fraction_non_alphanumeric': 0.12546353522867737, 'fraction_numerical': 0.004480840543881335, 'mean_word_length': 2.1437591063623116, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 32}, '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': '3478201', 'n_tokens_mistral': 1797, 'n_tokens_neox': 1736, 'n_words': 567}