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:
213bb03
)
JAL-1013 - employ index parameter rather than hardcode number for gaps in DNA or...
author
jprocter
<jprocter@compbio.dundee.ac.uk>
Thu, 6 Sep 2012 14:17:35 +0000
(15:17 +0100)
committer
jprocter
<jprocter@compbio.dundee.ac.uk>
Thu, 6 Sep 2012 14:17:35 +0000
(15:17 +0100)
src/jalview/analysis/AlignSeq.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AlignSeq.java
b/src/jalview/analysis/AlignSeq.java
index
bb4796f
..
5d28fc3
100755
(executable)
--- a/
src/jalview/analysis/AlignSeq.java
+++ b/
src/jalview/analysis/AlignSeq.java
@@
-382,13
+382,13
@@
public class AlignSeq
{
intToStr = pep;
charToInt = ResidueProperties.aaIndex;
- defInt = 23;
+ defInt = ResidueProperties.maxProteinIndex;
}
else if (type.equals(AlignSeq.DNA))
{
intToStr = dna;
charToInt = ResidueProperties.nucleotideIndex;
- defInt = 4;
+ defInt = ResidueProperties.maxNucleotideIndex;
}
else
{