view ebcsgen_ctl_model_checking.xml @ 2:67514c641d2f 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:22:53 +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>