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:
c0a7392
)
JAL-34 JAL-4366 add a tolerance - 90% of one alignment should map to the other
spikes/JAL-4366_3di_msa_forfoldseeks
author
Jim Procter
<jprocter@dundee.ac.uk>
Tue, 3 Sep 2024 21:37:05 +0000
(22:37 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Tue, 3 Sep 2024 21:37:05 +0000
(22:37 +0100)
src/jalview/analysis/AlignmentUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AlignmentUtils.java
b/src/jalview/analysis/AlignmentUtils.java
index
020ffda
..
c7c618f
100644
(file)
--- a/
src/jalview/analysis/AlignmentUtils.java
+++ b/
src/jalview/analysis/AlignmentUtils.java
@@
-1416,8
+1416,9
@@
public class AlignmentUtils
mappable++;
}
}
- if (mappable == al1.getHeight())
+ if (mappable>0 && mappable >= (al1.getHeight()*9/10))
{
+ // TODO allow optional if mappable > a few
return true;
}
return false;