On Fri, Jan 20, 2012 at 09:04, Jorge de Jesus <[email protected]> wrote:

> I was interested on studying and building some workflows using Jython.

BTW - SCUFL2 has a simple example of extracting workflow information
from Scufl2 wfbundle's in standalone Python [1].

(This basically unzips the bundle and loads every RDF file into an
rdflib.Graph, before doing a graph lookup to find processor names)


.. but you would need to run the SCUFL2 APIs first to convert a
.t2flow to .wfbundle. (A command line tool version of this can be
found in [2] - and an "example.wfbundle" in [3].


>From Jython you should be able to use the SCUFL2 API directly, but I
have not tried this. (It does work with Clojure, so I don't see any
reason why it should not work with Jython)

[1] 
https://github.com/myGrid/scufl2/blob/master/scufl2-usecases/src/main/python/processorNames.py

[2] 
https://github.com/myGrid/scufl2/blob/master/scufl2-usecases/src/main/java/uk/org/taverna/scufl2/usecases/ConvertT2flowScufl2.java

[3] 
https://github.com/myGrid/scufl2/tree/master/scufl2-rdfxml/src/test/resources/uk/org/taverna/scufl2/rdfxml

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to