From 91d752e5433e3ac3540b8d55d3ef2aa405d64d99 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 9 Jul 2012 17:54:43 -0400 Subject: fixed getops, remove old comments and checks as well as fixing a output formatting error --- fly-tools/std-deviation/StandardDeviation.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'fly-tools/std-deviation') diff --git a/fly-tools/std-deviation/StandardDeviation.cpp b/fly-tools/std-deviation/StandardDeviation.cpp index 9a3bc46..42004d3 100644 --- a/fly-tools/std-deviation/StandardDeviation.cpp +++ b/fly-tools/std-deviation/StandardDeviation.cpp @@ -17,6 +17,7 @@ int main(int argc, char* argv[]) { string outputFileName; string distributionType; string inputFileList; + string currentFileName; while ((c = getopt (argc, argv, "i:o:l:t:h")) != -1) switch (c) @@ -46,17 +47,6 @@ int main(int argc, char* argv[]) { exit(1); } - - // argv[1] input file containing the list of files - // argv[2] output file containing the standard deviation and file name pair - // argv[3] data file path - // argv[4] data file postfix of metricname - - if (argc < 3) { - cout<<"Please provide the parameters ./executable iputfilename outputfilename"<>currentFileName) { string currentFileWithExtension = prefixPath + currentFileName + "/" + currentFileName + "_"+ metricName +".txt"; - cout<<"File"<