view ebcsgen_ctl_model_checking.xml @ 0:213df1fd884f draft

planemo upload for repository https://github.com/sybila/galaxytools/tree/master/tools/ebcsgen commit ab45353a4e518f67057a1789aa527fb3bf1e74d5
author sybila
date Thu, 06 Oct 2022 14:39:48 +0000
parents
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>