-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rename parameter "bool" to "wait_for_kernel_finish" to solve issue #262. #263
Conversation
… "set_wait_for_kernel_finish" function.
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #263 +/- ##
=======================================
Coverage 87.91% 87.91%
=======================================
Files 20 20
Lines 1646 1646
=======================================
Hits 1447 1447
Misses 199 199 ☔ View full report in Codecov by Sentry. |
We should also update the parameter name in the pyclesperanto/pyclesperanto/_core.py Lines 129 to 146 in a2dd16c
|
Co-authored-by: Stephane Rigaud <Stephane.rigaud@pasteur.fr>
Co-authored-by: Stephane Rigaud <Stephane.rigaud@pasteur.fr>
We should also update the parameter name "flag" of the "wait_for_kernel_to_finish" function in the core.py file. It should be named "wait". |
…t_wait_for_kernel_finish` function.
This message was generated by git-bob (version: 0.9.0, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully. In the recent updates, modifications were made to the pyclesperanto repository. Specifically, the function parameter |
Also in _interroperability.py let's call the parameter "wait" and not "wait_for_kernel_finish". |
This message was generated by git-bob (version: 0.9.0, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully. In the recent changes, there have been modifications to rename parameters in two functions for improved clarity. In the file pyclesperanto/_interroperability.py, the parameter "bool" was renamed to "wait" in the |
This message was generated by git-bob (version: 0.9.0, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
The changes made to address issue #262 involve updating the parameter name in the
set_wait_for_kernel_finish
function within thepyclesperanto/_interroperability.py
file. Specifically, the parameter name was changed frombool
towait_for_kernel_finish
to avoid using a type name as a parameter. This parameter is utilized to call thewait_for_kernel_to_finish
function with the updated name, and the existing deprecation warning informs users to consider usingwait_for_kernel_to_finish()
directly. View the modified file.closes #262