git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b21db5
)
JAL-3048 use FileParse to transfer File to NewickFile parser
author
Jim Procter
<jprocter@issues.jalview.org>
Fri, 29 Jun 2018 16:14:21 +0000
(17:14 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Fri, 29 Jun 2018 16:14:21 +0000
(17:14 +0100)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
dafeafc
..
4695ed7
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-3926,7
+3926,8
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
NewickFile fin = null;
try
{
- fin = new NewickFile(filePath, DataSourceType.FILE);
+ fin = new NewickFile(new FileParse(
+ chooser.getSelectedFile(), DataSourceType.FILE));
viewport.setCurrentTree(
showNewickTree(fin, filePath).getTree());
} catch (Exception ex)