JAL-2805 removed unused Aptx instance creation code
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 15:18:27 +0000 (15:18 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 15:18:27 +0000 (15:18 +0000)
src/jalview/ext/archaeopteryx/AptxInit.java

index b209796..9b89cea 100644 (file)
@@ -8,7 +8,6 @@ import jalview.ext.treeviewer.TreeI;
 import jalview.ext.treeviewer.TreeViewerUtils;
 import jalview.gui.Desktop;
 import jalview.gui.JvOptionPane;
-import jalview.io.NewickFile;
 import jalview.util.MessageManager;
 import jalview.viewmodel.AlignmentViewport;
 
@@ -73,19 +72,6 @@ public final class AptxInit
   private final static NHXParser.TAXONOMY_EXTRACTION TAXONOMY_EXTRACTION = APTX_CONFIG
           .getTaxonomyExtraction();
 
-  // public static TreeFrameI createInstanceFromCalculation(
-  // final TreeBuilder calculatedTree)
-  // {
-  // TreeBuilderI aptxTreeBuilder = new AptxTreeBuilder(
-  // calculatedTree);
-  //
-  // TreeI aptxTree = aptxTreeBuilder.buildTree();
-  //
-  // TreeFrameI aptxApp = createAptxFrame(aptxTree,
-  // calculatedTree.getAvport(), null);
-  //
-  // return aptxApp;
-  // }
 
   public static TreeFrameI createInstanceFromNhx(String treeTitle,
           String nhxString, AlignmentViewport viewport)
@@ -96,8 +82,6 @@ public final class AptxInit
       Desktop.instance.startLoading(treeTitle);
     }
 
-
-
     Phylogeny aptxPhylogeny = Phylogeny
             .createInstanceFromNhxString(nhxString);
     aptxPhylogeny.setName(treeTitle);
@@ -105,7 +89,6 @@ public final class AptxInit
     TreeFrameI aptxFrame = createAptxFrame(aptxPhylogeny, viewport,
             treeTitle);
 
-
     if (Desktop.instance != null)
     {
       Desktop.instance.stopLoading();
@@ -202,13 +185,6 @@ public final class AptxInit
 
     }
 
-  public static TreeFrameI[] createInstancesFromFile(NewickFile newickFile,
-          AlignmentViewport viewport)
-  {
-    return null;
-  }
-
-
   public static TreeFrameI[] createInstancesFromUrl(URL treeUrl,
           AlignmentViewport viewport)
           throws FileNotFoundException, IOException, RuntimeException