Skip to content

Conversation

@Tetra-quark
Copy link
Contributor

I noticed that the check_for_weights function takes and return the num_shuffles parameter without using it. I searched the repository, verified that it would be safe to remove and made all the alterations necessary.

(I would like to contribute to the DLC repository but up till now was not super comfortable with the workflow. I thought this could be a good test for a first contribution, although small. I understand fully if the pull request is denied for reasons I have not considered.)

Remove unused num_shuffles parameter from check_for_weights().
Remove reference to num_shuffles parameter in check_for_weights() usage.
Remove reference to num_shuffles parameter in check_for_weights() usage.
Remove references to num_shuffles parameter in check_for_weights() usage and assertEqual().
Update comment containing check_for_weights() usage.
@Tetra-quark Tetra-quark changed the title Remove unused parameter num_shuffles from check_for_weights function. Remove unused parameter num_shuffles from check_for_weights function. Aug 24, 2023
@jeylau jeylau self-assigned this Aug 31, 2023
@jeylau jeylau self-requested a review August 31, 2023 08:17
@jeylau
Copy link
Contributor

jeylau commented Aug 31, 2023

Hi @Tetra-quark, good catch! Looks all good to me, thank you very much!

@jeylau
Copy link
Contributor

jeylau commented Aug 31, 2023

Just made a minor fix directly in the PR to get the tests to pass 😊

@MMathisLab MMathisLab requested a review from AlexEMG August 31, 2023 16:22
@Tetra-quark
Copy link
Contributor Author

Thanks for the fix!
I imagine the remaining test failures are not related to the changes in this pull request right?

@jeylau
Copy link
Contributor

jeylau commented Sep 11, 2023

Thanks for the fix!
I imagine the remaining test failures are not related to the changes in this pull request right?

You're correct, these can be ignored.

@MMathisLab MMathisLab merged commit 195e093 into DeepLabCut:main Sep 13, 2023
@Tetra-quark Tetra-quark deleted the check_for_weights_remove_num_shuffles branch October 12, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants