Skip to content

Tools don't start with <tool_dependencies#949

Merged
dannon merged 1 commit intogalaxyproject:devfrom
hexylena:looks-like-a-bug
Oct 20, 2015
Merged

Tools don't start with <tool_dependencies#949
dannon merged 1 commit intogalaxyproject:devfrom
hexylena:looks-like-a-bug

Conversation

@hexylena
Copy link
Member

Tools start with '<tool ' not '<tool'.

Please review thoroughly as I feel like this is an extremely important bit of code and if this change is incorrect, it could be pretty unpleasant for people. This one character change ensures that the only things picked up by __looks_like_a_tool are actually tools and not tool_dependencies.xml files which also have <tool in them.

This will fix galaxyproject/planemo#313 as soon as planemo inherits this.

@hexylena hexylena added this to the 16.01 milestone Oct 20, 2015
hexylena added a commit to galaxyproject/planemo that referenced this pull request Oct 20, 2015
hexylena added a commit to galaxyproject/planemo that referenced this pull request Oct 20, 2015
@nsoranzo
Copy link
Member

LGTM

@bgruening
Copy link
Member

👍

1 similar comment
@dannon
Copy link
Member

dannon commented Oct 20, 2015

+1

dannon added a commit that referenced this pull request Oct 20, 2015
Tools don't start with <tool_dependencies
@dannon dannon merged commit 5ae2db5 into galaxyproject:dev Oct 20, 2015
@jmchilton
Copy link
Member

The problem is that could be a tab or a newline or carriage return. Can we redo this and check that the line contains pattern.compile(r'''<tool\s''').

@dannon
Copy link
Member

dannon commented Oct 20, 2015

Man I hate XML. Good call, though, @jmchilton

@hexylena
Copy link
Member Author

@jmchilton yep, good point. I'll update with regex very shortly.

hexylena added a commit to galaxyproject/planemo that referenced this pull request Oct 20, 2015
jmchilton added a commit to galaxyproject/planemo that referenced this pull request Oct 20, 2015
@hexylena hexylena deleted the looks-like-a-bug branch December 19, 2016 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Demultiplexing error

5 participants