clEsperanto / pyclesperanto

GPU-accelerated Image Processing library using OpenCL
https://clesperanto.github.io/pyclesperanto
BSD 3-Clause "New" or "Revised" License
31 stars 6 forks source link

Renamed the parameter "list" to "flag_list" in the exclude_labels function and updated tests. #269

Closed haesleinhuepf closed 1 month ago

haesleinhuepf commented 1 month ago

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.

To resolve Issue #265, the parameter "list" in the exclude_labels function in _tier3.py was renamed to "flag_list" to avoid using a protected Python keyword. Corresponding changes were made to the function's documentation and the internal call to clic._exclude_labels. Additionally, the test cases in the newly added tests/test_exclude_labels.py were updated to use "flag_list" instead of "flaglist", ensuring consistency and validating the refactor.

closes #265

codecov-commenter commented 1 month ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.91%. Comparing base (a2dd16c) to head (30a6c99).

Files with missing lines Patch % Lines
pyclesperanto/_tier3.py 50.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #269 +/- ## ======================================= Coverage 87.91% 87.91% ======================================= Files 20 20 Lines 1646 1646 ======================================= Hits 1447 1447 Misses 199 199 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

StRigaud commented 1 month ago

this is an autogen file, modification is useless, sorry :D