setOutputFormat(outputFormat);
setOutputFormat(new Instances(instanceInfo.relationName(), newAtts, 0));
  public boolean inputFormat(Instances instanceInfo) throws Exception {    super.inputFormat(instanceInfo);    m_DeltaCols.setUpper(getInputFormat().numAttributes() - 1);    for (int i = getInputFormat().numAttributes() - 1; i >= 0; i--) {      if (m_DeltaCols.isInRange(i) 	  && (getInputFormat().attribute(i).type() != Attribute.NUMERIC)) {	throw new Exception("Selected attributes must be all numeric");      }    }    // Create the output buffer    Instances outputFormat = new Instances(instanceInfo, 0);     boolean inRange = false;    for (int i = getInputFormat().numAttributes() - 1; i >= 0; i--) {      if (m_DeltaCols.isInRange(i)) {	// If they want the class column modified, unassign it	if (i == outputFormat.classIndex()) {	  outputFormat.setClassIndex(-1);	}		String foName = outputFormat.attribute(i).name();	foName = "'FO " + foName.replace('\'', ' ').trim() + '\'';	outputFormat.deleteAttributeAt(i);	// Create the new attribute	if (inRange) {	  Attribute newAttrib = new Attribute(foName);	  outputFormat.insertAttributeAt(newAttrib, i);	}	inRange = true;      }    }    setOutputFormat(outputFormat);    return true;  }