Re: [galaxy-dev] Create a new datatype svg

2017-02-09 Thread Peter Cock
Hmm. I wonder if a composite datatype would work here? https://wiki.galaxyproject.org/Admin/Datatypes/Composite%20Datatypes Peter On Thu, Feb 9, 2017 at 9:25 AM, Jochen Bick wrote: > Hi Dan, > > I understand the option with this specific flag. What I mean is that for > example the file format b

Re: [galaxy-dev] Create a new datatype svg

2017-02-09 Thread Jochen Bick
Hi Dan, I understand the option with this specific flag. What I mean is that for example the file format bam has two file in one save button. So if you click on save you can either save the bam file or the bai file. I would liek to have the same feature with my png and svg. So that I have just one

Re: [galaxy-dev] Create a new datatype svg

2017-02-08 Thread Daniel Blankenberg
Hi Jochen, I’m not sure I follow exactly. The SVG format is basically an XML file that can be visualized as a graphic. Whether it will be displayed as a graphic within your browser or as text generally depends upon the mime type that is set. If the mime type is set as text/plain, it will render

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Jochen Bick
Thanks Dan, I would like to have it as plain text but no as a separate file in the history but more like the solution of bam and bai files. Do you know how to do that? Cheers Jochen On 07.02.2017 21:26, Daniel Blankenberg wrote: > Just a quick note, if you want svg to be rendered as a graphics c

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Jochen Bick
Hej Björn, ok you were right... I had a tool issue. Now its working. Cheers Jochen On 07.02.2017 21:17, Björn Grüning wrote: > Hi, > > just change it to svg. If the output is empty this could be a tool problem. > > Ciao, > Bjoern > ___ P

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Daniel Blankenberg
Just a quick note, if you want svg to be rendered as a graphics correctly via the eye preview, you’ll need to set “serve_xss_vulnerable_mimetypes = True" in galaxy.ini. Otherwise it will appear as plaintext xml. But do be aware of the security concerns if you change this setting. Downloading/sa

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Björn Grüning
Hi, just change it to svg. If the output is empty this could be a tool problem. Ciao, Bjoern Am 07.02.2017 um 14:19 schrieb Jochen Bick: > Hi Björn, > > thanks, so I just change the format to svg? or is there more to do? > The output appears to be empty? > > Cheers Jochen > > > On 07.02.2017

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Jochen Bick
Hi Björn, thanks, so I just change the format to svg? or is there more to do? The output appears to be empty? Cheers Jochen On 07.02.2017 13:34, Björn Grüning wrote: > Hi Jochen, > > svg is supported, see here: > > https://github.com/galaxyproject/galaxy/blob/dev/config/datatypes_conf.xml.sam

Re: [galaxy-dev] Create a new datatype svg

2017-02-07 Thread Björn Grüning
Hi Jochen, svg is supported, see here: https://github.com/galaxyproject/galaxy/blob/dev/config/datatypes_conf.xml.sample#L282 Cheers, Bjoern Am 07.02.2017 um 12:45 schrieb Jochen Bick: > Hi all, > > I'm working on a tool that will have svg as an output file. Is this data > type already establi

[galaxy-dev] Create a new datatype svg

2017-02-07 Thread Jochen Bick
Hi all, I'm working on a tool that will have svg as an output file. Is this data type already established? If not how do I start? Cheers Jochen ___ Please keep all replies on the list by using "reply all" in your mail client. To manage your