Hi,
I am using the taverna API to explore workflows downloaded from MyExperiment.
At the moment, I converted the files to the .wfbundle format using the taverna
command line tools. Everything looks fine.
Unzipping a wfbundle I can read a set of .ttl files in the annotations/ folder,
but I am not able to do that through the Java API.
In the simplest form, my code is as follows:
WorkflowBundleIO io = new WorkflowBundleIO();
final WorkflowBundle wb = io.readBundle(__f(“file.wfbundle"),
null);
System.out.println("Annotations: " +
wb.getAnnotations().size());
What is the recommended way to get:
- The description of a workflow (as I can see it on the myexperiment portal)
- All the annotations in a bundle
- The annotations of a given WorkflowBean element
- To access/modify/extend the annotations
I am using release 0.15.0-incubating.
Thank you in advance for your help,
Enrico
—
Enrico Daga (enridaga)
http://www.enridaga.net <http://www.enridaga.net/>
Il budda e’ nel parco.