-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update runDataProcessing.cxx to allow for -
and _
in (Process
?)Configurable<bool>
names
#12771
Conversation
REQUEST FOR PRODUCTION RELEASES:
This will add The following labels are available |
|
Error while checking build/O2/fullCI for 7f4bcf3 at 2024-02-29 07:25:
Full log here. |
@aalkin I think you were saying privately that this happens because we do have some convention on the process options which is not respected? Can you comment here? |
@ktf indeed, this code is only applied to process switches, and by default those inherit their names after the process function which cannot contain dashes due to them being C++ identifiers. However, this is not a strict requirement as long as the names are OK to be put in JSON. @cholmcc could you please change the title to say |
I am not against this PR but I don't understand why you, Christian, use instead of normal configurables the ones of process switches? |
I'm afraid that the above is not entirely correct. The code in question is also called for regular switches as far as I can tell. Take the
I'm not sure it only applies to
I don't. i use one Yours, Christian |
-
and _
in Configurabl…e<T>
names-
and _
in (Process
?)Configurable<bool>
names
BTW, if the fundamental requirement is that option name can be put into a JSON key, then perhaps the regular expression for the option should capture that requirement - perhaps
That is, anything not a quote or double quote, since JSON keys can be any UTF-8 character string - including white-space and so on. One could even allow for Just a though. Yours, |
@cholmcc absolutely not, this is specifically made to extract configuration parameter name from the string metadata attached to inputs, that is placed there based on process switches only. You can look at O2Physics codebase and find plenty of configurables with dashes and underscores. |
This PR did not have any update in the last 30 days. Is it still needed? Unless further action in will be closed in 5 days. |
No description provided.