New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Planemo lint unaware of assert_command #260

Closed
peterjc opened this Issue Jul 6, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@peterjc
Copy link
Contributor

peterjc commented Jul 6, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment