-
Notifications
You must be signed in to change notification settings - Fork 45
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
fix: set materials-map string constant with path to materials map #494
base: main
Are you sure you want to change the base?
Conversation
I have a couple questions:
|
I think you already hint at the reason: it puts more stuff inside the plugins, which I'd rather not do because it hides it from where users would naturally go and look for this info. |
bc846f8
to
1ebae8f
Compare
1ebae8f
to
c34bba3
Compare
The eic/epic#494 is not merged at this time. Let's update that one to provide both constants, but going forward use proper meaning one.
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.
See eic/EICrecon#992
The eic/epic#494 is not merged at this time. Let's update that one to provide both constants, but going forward use proper meaning one.
The eic/epic#494 is not merged at this time. Let's update that one to provide both constants, but going forward use proper meaning one.
…992) The eic/epic#494 is not merged at this time. Let's update that one to provide both constants, but going forward use proper meaning one.
@wdconinc Is this ready to merge? |
92a561e
to
40b6450
Compare
Nah, let's keep it for next month, if at all. |
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.
backward compatibility not needed anymore, if we have forward compatibility?
It doesn't like something here... https://eicweb.phy.anl.gov/EIC/benchmarks/reconstruction_benchmarks/-/jobs/2503876 |
Merge queue setting changed
73f43a2
to
5810859
Compare
|
Right, that's a place where I've hard-coded it ... sigh. |
Merge queue setting changed
Briefly, what does this PR introduce?
This works with eic/EICrecon#826 to set the
materials-map
string constant in the geometry so we can avoid having to assume thatcalibrations/materials-map.cbor
is where we want the materials map to be searched for. The latter approach leads to race conditions when the same geometry directory is used by multiple running processes which keep updating thecalibrations/materials-map.cbor
file with what they want, only to read it later when it might have changed again already.What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No.
Does this PR change default behavior?
Yes. The materials map will be written to a different file name. An updated EICrecon will be required to pick it up automatically. Alternatively, you can explicitly pass the option e.g.
-Pacts:MaterialMap=calibrations/materials-map.cbor
.