my phthon file:

gf = open('showme.txt', 'w')
gf.write('this is a test text')
gf.close


print "info"

my xml file:

<tool name="Tool1" id="toolone">
  <description>table browser proxy</description>
  <command interpreter="python">
    test.py
  </command>
  <inputs  check_values="false">
    <param  name="one" sise="100" type="text" value="en" lavel="This is test"/>
  </inputs>
  <outputs><data name="showme" format="txt"/>

  </outputs>
</tool>


I clicked the "!"  button, it shows :

Tool: Tool1 
Name: Tool1 
Created: Dec 11, 2012 
Filesize: 0 bytes 
Dbkey: ? 
Format: txt 
Tool Version: 
 
Tool Standard Output: stdout 
Tool Standard Error: stderr 
Tool Exit Code: 0 


But I still cant found the text detail


________________________________
 From: Hans-Rudolf Hotz <h...@fmi.ch>
To: Chenhao Li <windfl...@yahoo.co.uk> 
Cc: "galaxy-dev@lists.bx.psu.edu" <galaxy-dev@lists.bx.psu.edu> 
Sent: Tuesday, 11 December 2012, 15:05
Subject: Re: [SPAM]  Re: [galaxy-dev] About the output
 


On 12/11/2012 03:49 PM, Chenhao Li wrote:
> Thx Hans-Rudolf
>
> But I did write </output> in the xml file
> Here is just a mistake
>
> In ~in ~/database/files/ folder there is just a folder named 000
> and there are lots of *.dat file in 000 folder
>

I assume, the latest *.dat file is the txt file you are interested? 
Alternatively, click on the "!" button (next to the download buttan) and 
you will see the full path

Regards, Hans-Rudolf

> ------------------------------------------------------------------------
> *From:* Hans-Rudolf Hotz <h...@fmi.ch>
> *To:* Chenhao <windfl...@yahoo.co.uk>
> *Cc:* galaxy-dev@lists.bx.psu.edu
> *Sent:* Tuesday, 11 December 2012, 8:36
> *Subject:* Re: [galaxy-dev] About the output
>
>
>
> On 12/10/2012 11:26 PM, Chenhao wrote:
>  > I made a galaxy tool which is just create a txt file. When I use this
>  > tool , I wish to let it show the detail of the txt.
>  >
>  > In the xml file I use :
>  >
>  > <output> <data name=”test” format=”txt”><output/>
>
> I assume, this should be written:
>
> <outputs> <data name=”test” format=”txt” /> </outputs>
>
>
> I am surprised, your tool doesn't create an error much earlier. How does
> the actual data file (in ~/database/files/ ) in look like?
>
>
> Regards, Hans-Rudolf
>
>
>  >
>  > But it does not work, when I click the “eye” button in galaxy, a
>  > download dialog appear, but it is just a empty file.
>  >
>  > Could somebody tell me what should I do , I want show the txt detail in
>  > the galaxy.
>  >
>  >
>  >
>  > ___________________________________________________________
>  > 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/
>  >
>
>
___________________________________________________________
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/

Reply via email to