Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@maximpavliv
Copy link
Collaborator

This PR fixes a bug introduced in PR #2861 and reported in Issue #3108, where the unique_bodyparts and identity_scores arguments in ShelfWriter.add_prediction() were being overwritten with None due to redundant kwargs.get() calls.

These reassignments caused the method to ignore valid input arguments when passed directly. The fix removes the two lines that overwrote these parameters, restoring the correct behavior while keeping **kwargs in the signature for subclass compatibility.

@arashsm79
Copy link
Contributor

LGTM. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix! fix for a real buggy one... DLC3.0🔥

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants