Skip to content

Planemo lint unaware of assert_command #260

@peterjc

Description

@peterjc

Planemo lint complained about this test:

<test>
    <param name="fastq_input1" value="bwa-mem-fastq1.fq" />
    <param name="ref_file" value="bwa-mem-mt-genome.fa" />
    <param name="set_algorithm_params" value="true" />
    <param name="k" value="20" />
    <assert_command>
        <has_text text="-k 20" />
    </assert_command>
</test>

taken from http://planemo.readthedocs.org/en/latest/writing_advanced.html

$ planemo lint bwa-mem_v5.xml
Linting tool /Users/peterjc/repositories/planemo/docs/writing/bwa-mem_v5.xml
Applying linter top_level... CHECK
.. CHECK: Tool defines a version.
.. CHECK: Tool defines a name.
.. CHECK: Tool defines an id name.
Applying linter tests... WARNING
.. WARNING: No outputs or expectations defined for tests, this test is likely invalid.
.. CHECK: 2 test(s) found.
Applying linter output... CHECK
.. INFO: 1 outputs found.
Applying linter inputs... CHECK
.. INFO: Found 6 input parameters.
Applying linter help... CHECK
.. CHECK: Tool contains help section.
.. CHECK: Help contains valid reStructuredText.
Applying linter command... CHECK
.. INFO: Tool contains a command.
Applying linter citations... CHECK
.. CHECK: Found 1 likely valid citations.
Failed linting

Reported during the GCC2015 training day by @cganote

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions