Hello,

Even the new mime-utils used in T2.1 doesn't recognise it correctly.  If we
can get hold of the 'magic' number or a regex for what represents a uniprot
result then we should be able to add it.  I think we are also going to
provide a drop down with a 'choose what mime type you want to render it as'
 since this magic stuff just seems very temperemental.

Cheers,

Ian

2009/12/15 <[email protected]>

> It would be more "magic" if it went and found the image of the protein
> automatically ;-)
>
> M
>
>
>
> On the Road!
>
> -----Original Message-----
> From: David Withers <[email protected]>
> Date: Tue, 15 Dec 2009 14:23:33
> To: Taverna Hackers<[email protected]>
> Subject: [Taverna-hackers] Mime type for UniProt ID
>
> I have a workflow that outputs a UniProt ID, P68871, and the result
> renderer shows the result type as 'Image'. I think mime magic is
> matching the start of the string, P6, and deciding that the mime type is
> image/x-portable-pixmap.
>
> Other UniProt IDs that don't start with P[1-6] are rendered correctly as
> text.
>
> I've attached a workflow that demonstrates the problem.
>
> David.
> --
> David Withers
> School of Computer Science, University of Manchester,
> Oxford Road, Manchester, M13 9PL, UK.
> +44 (0)161 275 0683
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
> Developers Guide: http://www.mygrid.org.uk/tools/developer-information
>



-- 
Ian Dunlop
myGrid Team
School of Computer Science
University of Manchester
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to