Skip to content
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

refactor: Improve ActsPythonBindings tracing #1425

Merged
merged 4 commits into from
Aug 12, 2022

Conversation

timadye
Copy link
Contributor

@timadye timadye commented Aug 11, 2022

  • Improves how acts.examples.dump_args_calls() finds the acts.ActsPythonBindings functions to wrap with dump_args(). This should now find them all.
    • I've used it with full_chain_itk.py, full_chain_odd.py, and vertex_fitting.py
  • For brevity, dump_args() doesn't print Config() calls with no arguments.
  • fix for addSeeding(truthSeedRanges=None) (unrelated, except the above helped debug)

@timadye timadye added this to the next milestone Aug 11, 2022
@codecov
Copy link

codecov bot commented Aug 11, 2022

Codecov Report

Merging #1425 (2f33918) into main (d6d2223) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1425   +/-   ##
=======================================
  Coverage   47.80%   47.80%           
=======================================
  Files         380      380           
  Lines       20168    20168           
  Branches     9382     9382           
=======================================
  Hits         9641     9641           
  Misses       4083     4083           
  Partials     6444     6444           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kodiakhq kodiakhq bot merged commit b945729 into acts-project:main Aug 12, 2022
@paulgessinger paulgessinger added the backport develop/v19.x Backport this PR to the v19.x series label Aug 12, 2022
acts-project-service pushed a commit that referenced this pull request Aug 12, 2022
* Improves how `acts.examples.dump_args_calls()` finds the `acts.ActsPythonBindings` functions to wrap with `dump_args()`. This should now find them all.
  * I've used it with `full_chain_itk.py`, `full_chain_odd.py`, and `vertex_fitting.py`
* For brevity, `dump_args()` doesn't print `Config()` calls with no arguments.
* fix for `addSeeding(truthSeedRanges=None)` (unrelated, except the above helped debug)

(cherry picked from commit b945729)
paulgessinger pushed a commit that referenced this pull request Aug 12, 2022
…op/v19.x] (#1426)

refactor: Improve ActsPythonBindings tracing (#1425)

* Improves how `acts.examples.dump_args_calls()` finds the `acts.ActsPythonBindings` functions to wrap with `dump_args()`. This should now find them all.
  * I've used it with `full_chain_itk.py`, `full_chain_odd.py`, and `vertex_fitting.py`
* For brevity, `dump_args()` doesn't print `Config()` calls with no arguments.
* fix for `addSeeding(truthSeedRanges=None)` (unrelated, except the above helped debug)

(cherry picked from commit b945729)

Co-authored-by: Tim Adye <T.J.Adye@rl.ac.uk>
@paulgessinger paulgessinger modified the milestones: next, v20.0.0 Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport develop/v19.x Backport this PR to the v19.x series
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants