// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.phylogeny.data;
public class ProteinDomain implements PhylogenyData {
- final public static double CONFIDENCE_DEFAULT = 0.0;
+ final public static double CONFIDENCE_DEFAULT = -1;
final public static String IDENTIFIER_DEFAULT = "";
final private String _name;
final private int _from;
sb.append( " " );
sb.append( getId() );
}
- if ( getConfidence() != CONFIDENCE_DEFAULT ) {
+ if ( getConfidence() >= 0 ) {
sb.append( " " );
sb.append( getConfidence() );
}
}
public int getLength() {
- return ( getTo() - getFrom() + 1 );
+ return ( ( getTo() - getFrom() ) + 1 );
}
public String getName() {