From 3acc34e4c66ac851dfab6c5f2a77930beefab88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Mon, 17 Jun 2024 19:07:15 +0200 Subject: [PATCH] Fix title mistake in b_main --- src/commands/b_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/b_main.cpp b/src/commands/b_main.cpp index 5cc585c..96a1054 100644 --- a/src/commands/b_main.cpp +++ b/src/commands/b_main.cpp @@ -114,8 +114,8 @@ int main(int argc, char** argv) throw runtime_error("hyperparameters and hyper_file are mutually exclusive"); } title = program.get("title"); - if (title == "" && file_name == "") { - throw runtime_error("title is mandatory if dataset is not provided"); + if (title == "" && file_name == "all") { + throw runtime_error("title is mandatory if all datasets are to be tested"); } saveResults = program.get("save"); }