Hi Ketan - great news - all the best with your project... 


On Tue, Feb 18, 2014 at 3:58 PM, Ketan Maheshwari <ketan@mcs.anl.gov> wrote:
Ross,

That's correct. It seems I tested on a  cached copy of tool. Works now!

Thanks,
Ketan


On Mon, Feb 17, 2014 at 10:55 PM, Ross <ross.lazarus@gmail.com> wrote:
Hi Ketan.
We routinely recommend quotes as you've shown for this reason and it certainly works for me at least !
Did you reload the tool xml after editing (via the admin menu or via a galaxy restart) before testing? If not, you tested a cached copy of the tool!


Ross Lazarus MBBS MPH;
Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444
http://scholar.google.com/citations?hl=en&user=UCUuEM4AAAAJ


On Tue, Feb 18, 2014 at 3:40 PM, Ketan Maheshwari <ketancmaheshwari@gmail.com> wrote:
Hi Ross,

I did try to use double quotes and curly braces:  "${outloc}" but it does not seem to address the issue.

Thanks,
Ketan


On Mon, Feb 17, 2014 at 10:37 PM, Ross <ross.lazarus@gmail.com> wrote:
Hi Ketan.
Please try quotation marks to enclose any parameter containing spaces in the tool command template - eg something like:
python myscript.py "$text_with_spaces" $param2 $param3....

Please confirm that this solves the problem?



On Tue, Feb 18, 2014 at 12:47 PM, Ketan Maheshwari <ketancmaheshwari@gmail.com> wrote:
Hi,

My tool in galaxy accepts text argument which can have zero or more spaces depending on user requirements. When user inputs one word it is parsed fine but in the case when user inputs more words separated by space it results in multiple separate arguments which messes with the way I am treating commandline args in my script. Is it possible to tell Galaxy to treat textbox as a single argument irrespective of spaces in the values provided?

Thanks for any suggestions.

Best,
--
Ketan


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/




--
Ketan