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:
1488d22
)
JAL-2110 defensive check in code
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 4 Jul 2016 14:19:43 +0000
(15:19 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 4 Jul 2016 14:19:43 +0000
(15:19 +0100)
src/jalview/datamodel/AlignedCodonFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignedCodonFrame.java
b/src/jalview/datamodel/AlignedCodonFrame.java
index
18aaecf
..
bb705b6
100644
(file)
--- a/
src/jalview/datamodel/AlignedCodonFrame.java
+++ b/
src/jalview/datamodel/AlignedCodonFrame.java
@@
-472,7
+472,8
@@
public class AlignedCodonFrame
for (SequenceToSequenceMapping ssm : mappings)
{
- if (ssm.mapping.to == protein)
+ if (ssm.mapping.to == protein
+ && ssm.mapping.getMap().getFromRatio() == 3)
{
ml = ssm.mapping.map;
dnaSeq = ssm.fromSeq;