public class Confidence implements PhylogenyData, Comparable<Confidence> {
- public final static int CONFIDENCE_DEFAULT_VALUE = -9999;
+ public final static int CONFIDENCE_DEFAULT_VALUE = -Integer.MAX_VALUE;
private double _value;
private double _sd;
private String _type;
@Override
public void toPhyloXML( final Writer writer, final int level, final String indentation ) throws IOException {
- if ( getValue() == CONFIDENCE_DEFAULT_VALUE ) {
+ if ( getValue() == CONFIDENCE_DEFAULT_VALUE || getValue() < -1 ) {
return;
}
writer.write( ForesterUtil.LINE_SEPARATOR );