Skip to content
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

Tools don't start with <tool_dependencies #949

Merged
merged 1 commit into from
Oct 20, 2015

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