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 `list` parameter to `label_image` in `exclude_labels`. #266

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.

Renamed the parameter "list" to "label_image" in the exclude_labels function within pyclesperanto/_tier3.py to resolve issue #265, avoiding the use of a protected Python type name. This change was also reflected in the invocation of exclude_labels in the test file tests/test_exclude_labels.py. The test file can be viewed here.

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 (bd49bf4).

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 #266 +/- ## ======================================= 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.

haesleinhuepf commented 1 month ago

Superseeded by #269