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:
c822c19
)
JAL-1632 named parameters
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 24 Mar 2017 12:21:33 +0000
(12:21 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 24 Mar 2017 12:21:33 +0000
(12:21 +0000)
src/jalview/gui/TreeChooser.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/TreeChooser.java
b/src/jalview/gui/TreeChooser.java
index
4f972ae
..
fa1195c
100644
(file)
--- a/
src/jalview/gui/TreeChooser.java
+++ b/
src/jalview/gui/TreeChooser.java
@@
-301,12
+301,15
@@
public class TreeChooser extends JPanel
* matchOnShortestSequence = false
* matchGaps = true except false for PCA by PID (to match SeqSpace)
*/
+ boolean includeGapGap = true;
+ boolean includeGapResidue = true;
+ boolean matchOnShortestLength = false;
boolean matchGap = true;
if (doPCA && (sm instanceof PIDModel))
{
matchGap = false;
}
- return new SimilarityParams(true, matchGap, true, false);
+ return new SimilarityParams(includeGapGap, matchGap, includeGapResidue, matchOnShortestLength);
}
/**