X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FBinarySequence.java;h=62ee97443a37ab68b37bb10665d2058781934b84;hb=0ce9577d119e1cc646f4b0d2e961f698d994fcc5;hp=fccd84c56b1b27b80b504a06dbc1af4b365a3b49;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/jalview/datamodel/BinarySequence.java b/src/jalview/datamodel/BinarySequence.java index fccd84c..62ee974 100755 --- 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. * @@ -69,13 +69,9 @@ public class BinarySequence extends Sequence { int nores = (isNa) ? ResidueProperties.maxNucleotideIndex : ResidueProperties.maxProteinIndex; - // Set all matrix to 0 + dbinary = new double[getSequence().length * nores]; - for (int i = 0; i < dbinary.length; i++) - { - dbinary[i] = 0.0; - } return nores; } @@ -134,14 +130,8 @@ public class BinarySequence extends Sequence private void matrixEncode(final int[] aaIndex, final int[][] matrix) { - // Set all matrix to 0 - // dbinary = new double[getSequence().length * 21]; - int nores = initMatrixGetNoRes(); - // for (int i = 0; i < dbinary.length; i++) { - // dbinary[i] = 0.0; - // } for (int i = 0, iSize = getSequence().length; i < iSize; i++) { int aanum = nores - 1;