download contains the html file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

download contains the html file

Neil.Burdett
Hi,
    I have a tool that works well. However, when I download the results, the results are zipped up but included into the zip file is the *.html file (with the same name as the tool output) do you know how I can stop this from being zipped up?

Thanks

Neil

___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

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/
Reply | Threaded
Open this post in threaded view
|

Re: download contains the html file

Neil.Burdett

Sorry I should have provided more detail. After I have executed my tool, I write the html into the dataset_’id’.dat file listing all the output files which I store in extra_files_path (named as dataset_id_files in the database). Thus when I do a download I only want the files stored in “dataset_id_files” downloaded I don’t want/need dataset_’id’.dat, too. Can I stop dataset_id.dat from being included in the zip file?

 

I was thinking I may need to change “act_on_multiple_datasets” in ~./lib/galaxy/webapps/galaxy/controllers/library_common.py . However, it doesn’t seem that this function is called when you click on the download icon on the “history” panel.

 

Thanks

Neil

 

 

From: Burdett, Neil (CCI, Herston - RBWH)
Sent: Friday, 10 January 2014 1:45 PM
To: [hidden email]
Subject: download contains the html file

 

Hi,
    I have a tool that works well. However, when I download the results, the results are zipped up but included into the zip file is the *.html file (with the same name as the tool output) do you know how I can stop this from being zipped up?

Thanks

Neil


___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

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/
Reply | Threaded
Open this post in threaded view
|

Re: download contains the html file

Neil.Burdett

For those following this thread. I, finally, managed to stop zipping up the html file by commenting out the “try” block (around line 260) in ~/lib/galaxy/datatypes/data.py

 

Thanks

Neil

 

 

From: Burdett, Neil (CCI, Herston - RBWH)
Sent: Friday, 10 January 2014 3:28 PM
To: [hidden email]
Subject: RE: download contains the html file

 

Sorry I should have provided more detail. After I have executed my tool, I write the html into the dataset_’id’.dat file listing all the output files which I store in extra_files_path (named as dataset_id_files in the database). Thus when I do a download I only want the files stored in “dataset_id_files” downloaded I don’t want/need dataset_’id’.dat, too. Can I stop dataset_id.dat from being included in the zip file?

 

I was thinking I may need to change “act_on_multiple_datasets” in ~./lib/galaxy/webapps/galaxy/controllers/library_common.py . However, it doesn’t seem that this function is called when you click on the download icon on the “history” panel.

 

Thanks

Neil

 

 

From: Burdett, Neil (CCI, Herston - RBWH)
Sent: Friday, 10 January 2014 1:45 PM
To: [hidden email]
Subject: download contains the html file

 

Hi,
    I have a tool that works well. However, when I download the results, the results are zipped up but included into the zip file is the *.html file (with the same name as the tool output) do you know how I can stop this from being zipped up?

Thanks

Neil


___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

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/