attributes.addElement(m_InputFormat.attribute(current));
attributes.addElement(m_InputFormat.attribute(current).copy());
  public boolean inputFormat(Instances instanceInfo) throws Exception {    m_InputFormat = new Instances(instanceInfo, 0);    m_NewBatch = true;        m_SelectCols.setUpper(m_InputFormat.numAttributes() - 1);    // Create the output buffer    FastVector attributes = new FastVector();    int outputClass = -1;    m_SelectedAttributes = m_SelectCols.getSelection();    for (int i = 0; i < m_SelectedAttributes.length; i++) {      int current = m_SelectedAttributes[i];      if (m_InputFormat.classIndex() == current) {	outputClass = attributes.size();      }      attributes.addElement(m_InputFormat.attribute(current));    }    Instances outputFormat = new Instances(m_InputFormat.relationName(),					   attributes, 0);     outputFormat.setClassIndex(outputClass);    setOutputFormat(outputFormat);    return true;  }