view ebcsgen_sbml_export.xml @ 0:2f3f67415022 draft

planemo upload for repository https://github.com/sybila/galaxytools/tree/master/tools/ebcsgen commit 74a375c33936106a892dafb042be953a943af026
author sybila
date Sat, 08 Oct 2022 12:55:26 +0000
parents
children
line wrap: on
line source

<tool id="eBCSgen_SBML_export" name="eBCSgen SBML export" version="@TOOL_VERSION@_galaxy0">
    <description>- export given BCSL model to SBML employing multi package</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="creator"/>
    <requirements>
        <container type="docker">sybila/ebcsgen:v@TOOL_VERSION@</container>
    </requirements>

    <options sanitize="False"/>
    <command>python3 ${__tool_directory__}/ebcsgen_sbml_export.py
        --model '$model'
        --output '$output'
    </command>

    <inputs>
        <param format="bcsl.model" name="model" type="data" label="Model file" help="Provide a BCSL model file"/>
    </inputs>

    <outputs>
        <data format="xml" name="output"/>
    </outputs>

    <tests>
        <test>
            <param name="model" value="simple.bcsl.model" ftype="bcsl.model"/>
            <output name="output" ftype="xml">
                <assert_contents>
                    <has_text text='compartment id="cell"'/>
                    <has_text text='name="P(S{i},T{i})::cell"'/>
                    <has_text text='multi:speciesType multi:id="st_T"'/>
                    <has_text text='speciesFeatureType multi:id="S_feature_type"'/>
                    <has_text text='multi:id="P_0_S"'/>
                    <has_n_lines n="157" delta="1"/>
                </assert_contents>
            </output>
        </test>
    </tests>

</tool>