view ebcsgen_ctl_model_checking.xml @ 1:f5ebb9f9741d draft

planemo upload for repository https://github.com/sybila/galaxytools/tree/master/tools/ebcsgen commit 83232805a8721c48078c88367e3480a5553f0182
author sybila
date Fri, 14 Oct 2022 16:25:25 +0000
parents 213df1fd884f
children
line wrap: on
line source

<tool id="eBCSgen_CTL_model_checking" name="eBCSgen CTL model checking" version="@TOOL_VERSION@_galaxy0">
    <description>- explicit CTL model checking of transition system</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_ctl_model_checking.py
        --transition_file '$transition_file'
        --formula '$formula'
        --output '$output'
    </command>

    <inputs>
        <param format="bcsl.ts" name="transition_file" type="data" label="Computed Transition system"/>
        <param name="formula" type="text" label="CTL formula">
            <validator type="empty_field"/>
        </param>
    </inputs>

    <outputs>
        <data label="CTL model checking of ${on_string}" format="ctl.result" name="output"/>
    </outputs>

    <tests>
        <test>
            <param name="transition_file" value="simple.bcsl.ts" ftype="bcsl.ts"/>
            <param name="formula" value="E(F([P(S{a},T{a})::cell &gt; 0]))"/>
            <output name="output" ftype="ctl.result">
                <assert_contents>
                    <has_text text="Result: True"/>
                    <has_text text="Number of satisfying states: 4"/>
                </assert_contents>
             </output>
        </test>
    </tests>

</tool>