//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;
{
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)
{
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);
+ // }
}
}