-
Notifications
You must be signed in to change notification settings - Fork 16
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 the ndlar yaml configuration #158
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping Yifan. I have some questions about your last commit. I think it changes the philosophy of the original implementation of the NDLAr workflow which was only add a yamls/ndlar_flow
version of a particular yaml if the yaml/proto_nd_flow
had an explicit dependency on NDLAr. This is to help with the NDLAr workflow automatically picking up any changes to the yamls/proto_nd_flow
yamls. Do we need, for example, a
yamls/ndlar_flow/reco/charge/EventBuilder.yaml
or will
yamls/proto_nd_flow/reco/charge/EventBuilder.yaml
suffice?
Unrelated to this PR specifically but something that I just spotted - what is the reason we now have a https://github.com/DUNE/ndlar_flow/blob/develop/data/ndlar_flow/ndlar-module.yaml in develop when the install of |
Hi @alexbooth92, I thought the philosophy of using the folders of yaml configuration for different detectors is that each contains a complete set to reduce interdependence. We don't have a main set of configuration. In this way, each set of configuration has equal foot. On the other hand, the source code should be shared among different run configuration. |
Thanks Yifan! I don't mind moving to this model if 2x2 developers remember to change the corresponding NDLAr yaml whenever they adapt a 2x2 yaml for a reason that is applicable to both. |
Hi @alexbooth92 ! Sorry I forgot to reply this. If you run scripts/ndlar_scripts/get_ndlar_input.sh again (or the usual procedure), it will overwrite the old files as long as the file names are the same. In that sense, adding a default data folder as for the single modules and 2x2 should not change the workflow and would not require manual updates of the configuration. I think it helps for quick tests or so. It seems to me that you are happy with the PR change itself from the above comments. Please let me know if you have further comments or confirm it is alright. |
In the interest of moving forward, happy for this to be merged but making a plea for 2x2 folk to update the NDLAr yamls whenever relevent! There seems to have been a real effort to do so recently so that's great! |
tested with a mpvmpr sample.
Notifying @alexbooth92 @mjkramer