On Thu, Feb 3, 2011 at 15:54, Andreas Truszkowski <[email protected]> wrote:
> when I use the "Add file location(s)" function of an input port and run > the workflow. The port passes the whole file to the subsequent workers > as a string. Is it possible to avoid this or is there another > possibility to only pass the file object or the filepath string? Activities (service types) which can understand references can ask for the file path instead of the file content. Unfortunately none of the built-in activities (perhaps except for Spreadsheet import) uses this functionality yet. We've got a series of bugs to allow Local workers to support such references, see http://www.mygrid.org.uk/dev/issues/browse/T2-1099 - I'm not sure if any of these are suggested for upcoming 2.3. It would certainly be useful for your case to have a local worker which simply returned the full path of the filename. (It could store content to a temporary file if the input didn't come from "Add file location"). Alan - do you know if any of those are coming for 2.3? I remember we were discussing this recently.. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
