X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fphylogeny%2Fdata%2FProteinDomain.java;h=921ff2577fb5d32f3ab7bae1b14e741661183683;hb=5cad5dbd4f9e8cf09a123d4ee490cf314c05fd2f;hp=3adcdfd34a57d359cb6e507c414675998f75dc6e;hpb=656be28debec520e0e35a8b311114398a40ea366;p=jalview.git diff --git a/forester/java/src/org/forester/phylogeny/data/ProteinDomain.java b/forester/java/src/org/forester/phylogeny/data/ProteinDomain.java index 3adcdfd..921ff25 100644 --- a/forester/java/src/org/forester/phylogeny/data/ProteinDomain.java +++ b/forester/java/src/org/forester/phylogeny/data/ProteinDomain.java @@ -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() ); }