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:
b3f66e3
)
fixed use of PID rather than 'Comparison' Alignment percentage id
author
jprocter
<Jim Procter>
Thu, 26 May 2005 17:21:48 +0000
(17:21 +0000)
committer
jprocter
<Jim Procter>
Thu, 26 May 2005 17:21:48 +0000
(17:21 +0000)
calculation.
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
d953598
..
9deb7e2
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-223,8
+223,8
@@
public class Alignment implements AlignmentI
if (!del.contains( (SequenceI) sel.elementAt(i)) ||
\r
!del.contains( (SequenceI) sel.elementAt(j)))
\r
{
\r
-
\r
- float pid = Comparison.compare( (SequenceI) sel.elementAt(j),
\r
+ // use PID instead of Comparison (which is really not pleasant)
\r
+ float pid = Comparison.PID( (SequenceI) sel.elementAt(j),
\r
(SequenceI) sel.elementAt(i));
\r
\r
if (pid >= threshold)
\r