Replace #define ... with pragma once
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef DATASETS_EXCEL_H
|
||||
#define DATASETS_EXCEL_H
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <nlohmann/json.hpp>
|
||||
@@ -16,4 +16,3 @@ namespace platform {
|
||||
void report(json& data);
|
||||
};
|
||||
}
|
||||
#endif //DATASETS_EXCEL_H
|
@@ -75,6 +75,9 @@ void list_datasets(argparse::ArgumentParser& program)
|
||||
void list_results(argparse::ArgumentParser& program)
|
||||
{
|
||||
std::cout << "Results" << std::endl;
|
||||
auto dataset = program.get<string>("--dataset");
|
||||
auto score = program.get<string>("--score");
|
||||
|
||||
}
|
||||
|
||||
int main(int argc, char** argv)
|
||||
@@ -107,6 +110,7 @@ int main(int argc, char** argv)
|
||||
throw std::runtime_error("Dataset must be one of " + datasets.toString());
|
||||
}
|
||||
);
|
||||
program.add_argument("-s", "--score").default_value("accuracy").help("Filter results of the score name supplied");
|
||||
// Add subparsers
|
||||
program.add_subparser(datasets_command);
|
||||
program.add_subparser(results_command);
|
||||
|
Reference in New Issue
Block a user