<commit_before><tool id="heinz_visualization" name="Visualize" version="0.1.0">
    <description>the optimal scoring subnetwork</description>
    <requirements>
        <requirement type="package" version="3.6.0">python</requirement>
        <requirement type="package" version="2.38.0">graphviz</requirement>
        <requirement type="package" version="0.4.10">py-graphviz</requirement>
    </requirements>
    <command>
        python3.6 $__tool_directory__/visualization.py -i $subnetwork -o $visualization
    </command>
    <inputs>
        <param type="data" name="subnetwork" format="txt" label="Heinz output file"
        help='Output file of the tool "Identify optimal scoring subnetwork"'/>
    </inputs>
    <outputs>
        <data name="visualization" format="pdf" label="${tool.name} on ${on_string}: Heinz visualization" />
    </outputs>
    <tests>
      <test>
        <param name="subnetwork" value="Heinz_output.txt" />
        <output name="visualization" file="heinz_graph.pdf" compare="sim_size" delta="2000" />        <commit_msg>Update visualization.xml<commit_after><tool id="heinz_visualization" name="Visualize" version="0.1.0">
    <description>the optimal scoring subnetwork</description>
    <requirements>
        <requirement type="package" version="3.6.0">python</requirement>
        <requirement type="package" version="2.38.0">graphviz</requirement>
        <requirement type="package" version="0.4.10">py-graphviz</requirement>
    </requirements>
    <command>
        python '$__tool_directory__/visualization.py' -i '$subnetwork' -o $visualization
    </command>
    <inputs>
        <param type="data" name="subnetwork" format="txt" label="Heinz output file"
        help='Output file of the tool "Identify optimal scoring subnetwork"'/>
    </inputs>
    <outputs>
        <data name="visualization" format="pdf" label="${tool.name} on ${on_string}: Heinz visualization" />
    </outputs>
    <tests>
      <test>
        <param name="subnetwork" value="Heinz_output.txt" />
        <output name="visualization" file="heinz_graph.pdf" compare="sim_size" delta="2000" />        
{'fraction_non_alphanumeric': 0.15188679245283018, 'fraction_numerical': 0.017924528301886792, 'mean_word_length': 3.7556053811659194, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '6514328', 'n_tokens_mistral': 658, 'n_tokens_neox': 632, 'n_words': 131}