resetHistory(); m_SelectedCols.setUpper(instanceInfo.numAttributes() - 1);
  public boolean inputFormat(Instances instanceInfo) throws Exception {    // XXX this is probably not right... It should only call    // Filter.inputFormat, not TimeSeriesTranslateFilter.inputFormat    super.inputFormat(instanceInfo);    resetHistory();    m_SelectedCols.setUpper(instanceInfo.numAttributes() - 1);    // Create the output buffer    Instances outputFormat = new Instances(instanceInfo, 0);     for(int i = 0; i < instanceInfo.numAttributes(); i++) {      if (m_SelectedCols.isInRange(i)) {	if (outputFormat.attribute(i).isNumeric()) {	  outputFormat.renameAttribute(i, outputFormat.attribute(i).name()				       + " d"				       + (m_InstanceRange < 0 ? '-' : '+')				       + Math.abs(m_InstanceRange));	} else {	  throw new Exception("Time delta attributes must be numeric!");	}      }    }    setOutputFormat(outputFormat);    return true;  }