view ebcsgen_sbml_export.xml @ 1:dd81687ca1a3 draft

planemo upload for repository https://github.com/sybila/galaxytools/tree/master/tools/ebcsgen commit 83232805a8721c48078c88367e3480a5553f0182
author sybila
date Fri, 14 Oct 2022 16:26:22 +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>