Skip to content

planemo tool_init should wrap $input_file in double quotes#98

Merged
jmchilton merged 1 commit intogalaxyproject:masterfrom
peterjc:patch-1
Mar 9, 2015
Merged

planemo tool_init should wrap $input_file in double quotes#98
jmchilton merged 1 commit intogalaxyproject:masterfrom
peterjc:patch-1

Conversation

@peterjc
Copy link
Contributor

@peterjc peterjc commented Mar 8, 2015

I was reading the writing a tool docs for v0.6.0 https://planemo.readthedocs.org/en/latest/writing.html and noticed the command string template did not double quote the filenames:

    <command><![CDATA[
        seqtk seq -a $input1 > $output1
    ]]></command>

This untested change attempts to do that, and ought to give:

    <command><![CDATA[
        seqtk seq -a "$input1" > "$output1"
    ]]></command>

I was reading the writing a tool docs for v0.6.0 https://planemo.readthedocs.org/en/latest/writing.html and noticed the command string template did not double quote the filenames:

```
    <command><![CDATA[
        seqtk seq -a $input1 > $output1
    ]]></command>
```

This *untested* change attempts to do that.
@jmchilton
Copy link
Member

Awesome, thanks for the fix.

jmchilton added a commit that referenced this pull request Mar 9, 2015
planemo tool_init should wrap $input_file in double quotes
@jmchilton jmchilton merged commit c811282 into galaxyproject:master Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants