CGATOxford/cgat — pull request #4 by IanSudbery (2014-02-01 13:27:27+00:00)
Title: Pipeline quote type

Hi Guys,

In the Pipeline.py function concatenateAndLoad, a regex is passed to combine_tables as a string inside the statement string. At the moment this string is created using single quotes and the regex it self is contained within double quotes. This means that any bash characters inside the inner string will be procesed by bash before being passed to combine_tables. This is particularly a problem if your regex contains *, which will not make it to combine_tables.

If switch the quotes round, but its possible that this might cause a problem if anyone is using quotes inside the regex they are passing to the function, so I just wanted to check this is okay before pushing.

Ian
---