in progress
[jalview.git] / forester / java / src / org / forester / phylogeny / data / ProteinDomain.java
index 5964f47..921ff25 100644 (file)
@@ -21,7 +21,7 @@
 // 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;
 
@@ -33,7 +33,7 @@ import org.forester.util.ForesterUtil;
 
 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;
@@ -78,7 +78,7 @@ public class ProteinDomain implements PhylogenyData {
             sb.append( " " );
             sb.append( getId() );
         }
-        if ( getConfidence() != CONFIDENCE_DEFAULT ) {
+        if ( getConfidence() >= 0 ) {
             sb.append( " " );
             sb.append( getConfidence() );
         }