-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add setCreationMode
to FairParSet
#1552
base: dev
Are you sure you want to change the base?
Conversation
In rare cases, when parameteres deriving from `FairParSet` are not present in the input parameter file and are meant to be created during the run, `FairParSet::init()` throws an error message. By using the newly introduced setter `setCreationMode` this message is suppressed. This allows solution to issue FairRootGroup#1541.
…Set` These functions seem not be used in `FairRoot`. Deprecated them.
WalkthroughWalkthroughThe 19.0.1 update for FairRoot focuses on modernizing the Changes
Sequence Diagram(s) (Beta)sequenceDiagram
participant User
participant FairParSet
User ->> FairParSet: setCreateMode(true)
FairParSet ->> FairParSet: creationMode = true
User ->> FairParSet: isCreationMode()
FairParSet -->> User: true
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (3)
Additional context usedLanguageTool
Markdownlint
Additional comments not posted (10)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Can you extract the chore / deprecate part into its own PR? I like those and would like to get them finished and merged first. |
After having thought about this whole thing a bit (see And I really think by now, that the So alternative proposol (If you agrree): Repurpose this PR and drop the |
@ChristianTackeGSI , I also do not like this knob name, I will work on this PR. |
In rare cases, when parameteres deriving from
FairParSet
are not present in the input parameter file and are meant
to be created during the run,
FairParSet::init()
throwsan error message.
By using the newly introduced setter
setCreationMode
this message is suppressed.
This allows solution to issue #1541.
The PR also does some clean-up in
FairParSet
.Checklist:
Summary by CodeRabbit
New Features
setCreateMode()
method to manage creation modes.Deprecations
fill()
andstore()
in theFairParSet
class.Improvements
Documentation