-
Notifications
You must be signed in to change notification settings - Fork 19
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
ref: python cleanup #914
base: main
Are you sure you want to change the base?
ref: python cleanup #914
Conversation
2fd05f0
to
355f7b1
Compare
bea627d
to
737ad0e
Compare
With these fixes the navigation and material validation works correctly again |
Quality Gate passedIssues Measures |
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.
Didn't go through it in too much depth but looks good.
"_" + | ||
std::to_string( | ||
std::ceil(10. * static_cast<double>(pT_range[1])) / 10.) + | ||
"_GeV"; |
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.
Is it intended that this will produce very slightly different files names than before?
|
||
const auto data_path{ | ||
std::filesystem::path{m_cfg.track_param_file()}.parent_path()}; | ||
const auto truth_trk_path{data_path / (prefix + "truth_track_params_" + | ||
mometum_str + "GeV.csv")}; | ||
momentum_str + ".csv")}; |
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.
Same comment as above.
@@ -19,7 +19,7 @@ | |||
|
|||
|
|||
def __main__(): | |||
# ----------------------------------------------------------------arg parsing | |||
# ---------------------------------------------------------------arg parsing |
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.
Any reason for these changes?
Cleanup python plotting code in preparation for benchmark plots:
Fixes a number of small bugs: