view ebcsgen_sbml_export.xml @ 2:51931dcec950 draft default tip

planemo upload for repository https://github.com/sybila/galaxytools/tree/master/tools/ebcsgen commit 4719a69f514aed27d90c7017f052463b0b43cbb0
author sybila
date Sat, 15 Oct 2022 09:23:58 +0000
parents 2f3f67415022
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>