git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2416 order score models by order of addition rather than name
[jalview.git]
/
src
/
jalview
/
datamodel
/
BinarySequence.java
diff --git
a/src/jalview/datamodel/BinarySequence.java
b/src/jalview/datamodel/BinarySequence.java
index
fccd84c
..
90b8be7
100755
(executable)
--- a/
src/jalview/datamodel/BinarySequence.java
+++ b/
src/jalview/datamodel/BinarySequence.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-20,8
+20,8
@@
*/
package jalview.datamodel;
*/
package jalview.datamodel;
+import jalview.analysis.scoremodels.ScoreMatrix;
import jalview.schemes.ResidueProperties;
import jalview.schemes.ResidueProperties;
-import jalview.schemes.ScoreMatrix;
/**
* Encode a sequence as a numeric vector using either classic residue binary
/**
* Encode a sequence as a numeric vector using either classic residue binary
@@
-132,7
+132,7
@@
public class BinarySequence extends Sequence
: ResidueProperties.aaIndex, matrix.getMatrix());
}
: ResidueProperties.aaIndex, matrix.getMatrix());
}
- private void matrixEncode(final int[] aaIndex, final int[][] matrix)
+ private void matrixEncode(final int[] aaIndex, final float[][] matrix)
{
// Set all matrix to 0
// dbinary = new double[getSequence().length * 21];
{
// Set all matrix to 0
// dbinary = new double[getSequence().length * 21];