From: kjvdheide Date: Tue, 12 Dec 2017 10:37:19 +0000 (+0000) Subject: JAL-2877 disabled Jalview's own viewer for testing X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8b2c0525d0a6360b43f8fd5d3433e785996992c6;p=jalview.git JAL-2877 disabled Jalview's own viewer for testing --- diff --git a/src/jalview/ext/forester/io/TreeParser.java b/src/jalview/ext/forester/io/TreeParser.java index e11591d..cbdc3e8 100644 --- a/src/jalview/ext/forester/io/TreeParser.java +++ b/src/jalview/ext/forester/io/TreeParser.java @@ -5,7 +5,6 @@ import jalview.gui.AlignViewport; //import jalview.ext.treeviewer.ExternalTreeParserI; import jalview.gui.Desktop; import jalview.gui.JvOptionPane; -import jalview.io.DataSourceType; import jalview.io.NewickFile; import jalview.util.MessageManager; @@ -40,9 +39,9 @@ public class TreeParser // implements ExternalTreeParserI { AptxInit.createInstancesFromFile(filePath, viewport); - fin = new NewickFile(filePath, DataSourceType.FILE); - viewport.setCurrentTree(viewport.getAlignPanel().alignFrame - .showNewickTree(fin, filePath).getTree()); + // fin = new NewickFile(filePath, DataSourceType.FILE); + // viewport.setCurrentTree(viewport.getAlignPanel().alignFrame + // .showNewickTree(fin, filePath).getTree()); } catch (Exception ex) { @@ -51,14 +50,14 @@ public class TreeParser // implements ExternalTreeParserI JvOptionPane.WARNING_MESSAGE); ex.printStackTrace(); } - if (fin != null && fin.hasWarningMessage()) - { - JvOptionPane.showMessageDialog(Desktop.desktop, - fin.getWarningMessage(), - MessageManager - .getString("label.possible_problem_with_tree_file"), - JvOptionPane.WARNING_MESSAGE); - } + // if (fin != null && fin.hasWarningMessage()) + // { + // JvOptionPane.showMessageDialog(Desktop.desktop, + // fin.getWarningMessage(), + // MessageManager + // .getString("label.possible_problem_with_tree_file"), + // JvOptionPane.WARNING_MESSAGE); + // } } }