Package LONI.visitor

Examples of LONI.visitor.LoniToGalaxyConverter


    // TODO Auto-generated method stub
    System.out.println("==="+path+"===");
    Pipeline p;
    try {
      p = LoniSpecification.getXMLParser().parse(new File(path));
      LoniToGalaxyConverter lgc = new LoniToGalaxyConverter();
      Workflow workflow = (Workflow) lgc.visit(p);
     
      try {
        GalaxySpecification.getJSONGenerator().generate(workflow, output);
        GalaxySpecification.getDatabase().dumpDatabase();
        GalaxySpecification.getDatabase().clear();
View Full Code Here


  public static void LoniToGalaxy(String path, String output){
    System.out.println(path);
    System.out.println("> "+output);
    Pipeline P;
    try {
      LoniToGalaxyConverter glc;
      glc = new LoniToGalaxyConverter();
     
      P = LoniSpecification.getXMLParser().parse(new File(path));
      Workflow W = (Workflow) glc.visit(P);
     
      try {
        GalaxySpecification.getJSONGenerator().generate(W, output);
      } catch (IOException e) {
        // TODO Auto-generated catch block
View Full Code Here

TOP

Related Classes of LONI.visitor.LoniToGalaxyConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.