Skip to content

Commit

Permalink
Merge pull request #3803 from lviliani/master
Browse files Browse the repository at this point in the history
Update output message in case of invalid names
  • Loading branch information
lviliani authored Nov 20, 2024
2 parents 2c40c41 + 2160e65 commit 97c8982
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/utils/check_dataset_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 97c8982

Please sign in to comment.