git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
src
/
jalview
/
analysis
/
TreeModel.java
diff --git
a/src/jalview/analysis/TreeModel.java
b/src/jalview/analysis/TreeModel.java
index
dd56424
..
0e57a58
100644
(file)
--- a/
src/jalview/analysis/TreeModel.java
+++ b/
src/jalview/analysis/TreeModel.java
@@
-80,7
+80,7
@@
public class TreeModel
public TreeModel(SequenceI[] seqs, AlignmentView odata,
NewickFile treefile)
{
public TreeModel(SequenceI[] seqs, AlignmentView odata,
NewickFile treefile)
{
- this(seqs, treefile.getTree(), treefile.HasDistances(),
+ this(seqs, treefile.getTree(), treefile.HasDistances(),
treefile.HasBootstrap(), treefile.HasRootDistance());
seqData = odata;
treefile.HasBootstrap(), treefile.HasRootDistance());
seqData = odata;
@@
-94,7
+94,7
@@
public class TreeModel
*/
public TreeModel(TreeBuilder tree)
{
*/
public TreeModel(TreeBuilder tree)
{
- this(tree.getSequences(), tree.getTopNode(), tree.hasDistances(),
+ this(tree.getSequences(), tree.getTopNode(), tree.hasDistances(),
tree.hasBootstrap(), tree.hasRootDistance());
seqData = tree.getOriginalData();
}
tree.hasBootstrap(), tree.hasRootDistance());
seqData = tree.getOriginalData();
}
@@
-141,7
+141,7
@@
public class TreeModel
while (i < leaves.size())
{
// TODO - decide if we get rid of the polymorphism here ?
while (i < leaves.size())
{
// TODO - decide if we get rid of the polymorphism here ?
- j = (SequenceNode)leaves.elementAt(i++);
+ j = (SequenceNode) leaves.elementAt(i++);
realnam = j.getName();
nam = null;
realnam = j.getName();
nam = null;
@@
-311,8
+311,7
@@
public class TreeModel
*
* @return Vector of leaf nodes on binary tree
*/
*
* @return Vector of leaf nodes on binary tree
*/
- Vector<BinaryNode> findLeaves(BinaryNode nd,
- Vector<BinaryNode> leaves)
+ Vector<BinaryNode> findLeaves(BinaryNode nd, Vector<BinaryNode> leaves)
{
if (nd == null)
{
{
if (nd == null)
{
@@
-409,8
+408,8
@@
public class TreeModel
}
else
{
}
else
{
- _groupNodes(groups, (SequenceNode) nd.left(), threshold);
- _groupNodes(groups, (SequenceNode) nd.right(), threshold);
+ _groupNodes(groups, nd.left(), threshold);
+ _groupNodes(groups, nd.right(), threshold);
}
}
}
}