-
Notifications
You must be signed in to change notification settings - Fork 168
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
test: geant4 python example #1334
Conversation
4f7f046
to
3baa16c
Compare
any thoughts on this @paulgessinger @timadye ? we could also run this in the CI or use it to run Geant4 in the CI |
Codecov Report
@@ Coverage Diff @@
## main #1334 +/- ##
=======================================
Coverage 47.46% 47.46%
=======================================
Files 375 375
Lines 19827 19827
Branches 9297 9297
=======================================
Hits 9410 9410
Misses 4033 4033
Partials 6384 6384 📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
This is a very good idea, thanks! |
Looks good. Just a couple of suggestions:
What do you think? |
those are very good suggestions @timadye thank you! I am going to implement this next week |
|
Need an advice one one thing here. The |
That's a good point. I think these functions can't really work in the installed case, since they assume they know where ODD is located. Do we need to support this autoconfig ODD mode if ACTS is installed? |
in this case we might want to install the ODD as well as part of Acts. but we might overshoot the original goal |
Alternatively, could we treat the ODD like we treat the ITk and let the user specify the base directory? For the ITk, we need to do that because it's in a separate repo, but we could use a similar mechanism for the ODD. |
We use the ODD all over the place in the python based tests and it's our performance baseline. I think it's reasonable to have ODD work "out-of-the-box" in the most common scenario. |
Maybe |
How do we refer to the source directory in the import? If we kept the current layout, it would mean ODD scripts would only work if run from the source directory, which was one of the things this change was supposed to fix. |
Co-authored-by: Paul Gessinger <[email protected]>
good idea will do |
this should be ready now |
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.
Sorry for more comments. 😅
Co-authored-by: Paul Gessinger <[email protected]>
Co-authored-by: Paul Gessinger <[email protected]>
I think I addressed all your comments @paulgessinger |
similar to fatras.py I tried to add a Geant4 utility function to add it to the chain instead of fatras