From 2160e655a56371de34693718598e0267299b8d2e Mon Sep 17 00:00:00 2001 From: Lorenzo Viliani Date: Wed, 20 Nov 2024 11:45:56 +0100 Subject: [PATCH] Update output message --- bin/utils/check_dataset_names.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/utils/check_dataset_names.py b/bin/utils/check_dataset_names.py index edd1bb3b117..4d19d556825 100644 --- a/bin/utils/check_dataset_names.py +++ b/bin/utils/check_dataset_names.py @@ -115,5 +115,9 @@ def validate_dataset_name(dataset_name): if valid: return True, "Valid dataset name", feedback else: - return False, "Invalid dataset name", feedback + return False, ("Invalid dataset name.\nThe strucuture of the name should be:\n"+ + "PROCESS_[BINNING]_[FILTER]_[PARAMETERS]_TUNE_BEAME_ME-PS\n"+ + "For more details please check:\n"+ + "https://cms-pdmv.gitbook.io/project/mccontact/rules-for-run3-2024-dataset-names\n\n"+ + "Below output for experts only"), feedback