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:
36a2657
)
TreeBuilder now stores the used ScoreModel and ScoreParams
author
kjvdheide
<kjvanderheide@dundee.ac.uk>
Thu, 26 Oct 2017 15:20:25 +0000
(16:20 +0100)
committer
kjvdheide
<kjvanderheide@dundee.ac.uk>
Thu, 26 Oct 2017 15:20:25 +0000
(16:20 +0100)
src/jalview/analysis/TreeBuilder.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/TreeBuilder.java
b/src/jalview/analysis/TreeBuilder.java
index
36a8caf
..
31fc4b5
100644
(file)
--- a/
src/jalview/analysis/TreeBuilder.java
+++ b/
src/jalview/analysis/TreeBuilder.java
@@
-73,6
+73,10
@@
public abstract class TreeBuilder
Vector<SequenceNode> node;
+ protected ScoreModelI scoreModel;
+
+ protected SimilarityParamsI scoreParams;
+
private AlignmentView seqStrings; // redundant? (see seqData)
/**
@@
-295,7
+299,11
@@
public abstract class TreeBuilder
*/
protected void computeTree(ScoreModelI sm, SimilarityParamsI scoreOptions)
{
- distances = sm.findDistances(seqData, scoreOptions);
+
+ this.scoreModel = sm;
+ this.scoreParams = scoreOptions;
+
+ distances = scoreModel.findDistances(seqData, scoreParams);
makeLeaves();