Skip to content

Fix parameter item compare unpack order#3264

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
j9ac9k:fix-checklist-parameter-bug
Mar 4, 2025
Merged

Fix parameter item compare unpack order#3264
j9ac9k merged 1 commit intopyqtgraph:masterfrom
j9ac9k:fix-checklist-parameter-bug

Conversation

@j9ac9k
Copy link
Copy Markdown
Member

@j9ac9k j9ac9k commented Feb 26, 2025

Fixes #3229

Thank you @Qi-henry for reporting the issue and diagnosing the cause. Added a test case that caught this error.

Funny enough, this error did not occur when using str types for values instead of int types.

@j9ac9k j9ac9k force-pushed the fix-checklist-parameter-bug branch from a1807cb to 492969d Compare February 26, 2025 19:34
@j9ac9k
Copy link
Copy Markdown
Member Author

j9ac9k commented Feb 28, 2025

Decided since we have a difference in behavior from int to str values, I should check both, so Ill parametrize this test for both conditions before merging.

@j9ac9k j9ac9k force-pushed the fix-checklist-parameter-bug branch from 492969d to d6d5832 Compare March 4, 2025 16:48
@j9ac9k j9ac9k force-pushed the fix-checklist-parameter-bug branch from d6d5832 to 1a9b05f Compare March 4, 2025 16:50
@j9ac9k j9ac9k merged commit dc5d4d0 into pyqtgraph:master Mar 4, 2025
36 checks passed
@j9ac9k j9ac9k deleted the fix-checklist-parameter-bug branch March 4, 2025 17:13
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.

ChecklistParameter bug

1 participant