Watch the DataViewer Tool video.

DataViewer Tool is a utility for viewing Baclava data files. Baclava is an XML format used to save workflow inputs and/or outputs from the Workbench or Command Line Tool for later re-use or inspection. It is useful for saving all workflow inputs or outputs in a single file but is not really meant for reading by humans as the data inside is Base64-encoded.

DataViewer Tool comes in the form of a command prompt script called dataviewer and can be downloaded from Taverna Web site.

Creating Baclava Files

From the Taverna Workbench, you can save the inputs you have specified for a workflow to a Baclava file from the Run Dialog (which is used to launch a workflow run).

From the Result Perspective of the Workbench you can save both workflow inputs and outputs, once workflow has finished executing and results become available. You have the option to select input and output ports which you want to include in the saved Baclava file.

Command Line Tool can load workflow inputs from a Baclava data file using the -inputdoc option and save the workflow results in a Baclava data file using the -outputdoc option.

Viewing Baclava Files

To open a Baclava file:

  1. In DataViewer Tool, select File-> Open from the top menu.

DataViewer pretty much resembles the Result Perspective in the Workbench and has very similar functionality.

Each input or output port data that was saved inside the file will appear as a separate tab. 

The stucture of the data on the port is shown in a tree-like structure on the left hand side of the tab; the data can be a single value, a list, a list of lists, etc.

Once you click on an individual data value on the left, it will be rendered in the right hand side of the tab. You can select a different renderer from the one selected by default.

You can save individual data values by clicking the Save value button. You may also save all values, where you will have a chance to select which ports you want to save in a pop up dialog.