*/
public Object visit(Pipeline pipeline) {
Workflow workflow;
ModuleGroup mgroup = pipeline.getPipelineModuleGroup();
Connections conns = pipeline.getConnections();
GalaxyContext context= new GalaxyContext();
context.getDatabase().clear();
NODE_COUNT = 0;
//convert the module group
Pair<List<Step>, Object> mystp = moduleVisitor.visit(mgroup, context);