Commit 635da5ee authored by John Bonn's avatar John Bonn
Browse files

Fix for m04272 that was failing test on Mac OSX.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7664 41f8697f-d340-4b68-9986-7bafba869bb8
parent 06d83b92
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -424,8 +424,11 @@ void GenerateCSVOutput(Cube *incube,
    }
  }

  if (not appending) {
    keys.remove(QRegExp(delim + "$")); // Get rid of the extra delim char (",")
    outFile << keys << endl;
  } 
  values.remove(QRegExp(delim + "$")); // Get rid of the extra delim char (",")
  outFile << keys << endl << values;
  outFile << values << endl;
  outFile.close();
}