Package Galaxy.Tree.Tool

Examples of Galaxy.Tree.Tool.Tool


      }
    }
    for(String id : toolDB.keySet()){
      Triple<String, String, Tool> currentTool = toolDB.get(id);
      String relativePath = currentTool.getElem1();
      Tool toolToDump = currentTool.getElem3();
      if(toolToDump != null&& relativePath != null ){
        File dir = new File(relativePathToOutputToolPath(getDirectory(id)));
        File absfile = new File(relativePathToOutputToolPath(relativePath));
        dir.mkdirs();
        try {
View Full Code Here


   * @return the tool object in the database.
   */
  public Tool getTool(String toolId){
   
      if(toolDB.containsKey(toolId)){
        Tool tool;
        Triple<String, String, Tool> databaseTool= toolDB.get(toolId);
        /*
        If the tool has never been parsed. Parse it and store it.
        */
        if(databaseTool.getElem3() == null){
View Full Code Here

    }
   
  }
  public static void testGalaxyXML(String path, String output){
    System.out.println("==="+path+"===");
    Tool G;
    try {
      G = GalaxySpecification.getXMLParser().parse(new File(path));
      try {
        GalaxySpecification.getXMLGenerator().generate(G, output);
      } catch (IOException e) {
View Full Code Here

    int count=0;
    for(String nm : TEST_TOOLDB.getTools()){
     
      try{
        System.out.println(nm + ":"+TEST_TOOLDB.getDirectory(nm));
        Tool tool = TEST_TOOLDB.getTool(nm);
       
      }catch(Exception e){
        //System.err.println(e.getMessage());
      }
     
View Full Code Here

TOP

Related Classes of Galaxy.Tree.Tool.Tool

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.