Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChoiceButton widget doesn't work anymore #585

Open
SamuelNicaise opened this issue May 25, 2023 · 0 comments
Open

ChoiceButton widget doesn't work anymore #585

SamuelNicaise opened this issue May 25, 2023 · 0 comments
Assignees

Comments

@SamuelNicaise
Copy link
Collaborator

When clicking on an empty cell in the ChoiceButton widget, the cell is not checked and the following error appears:

Traceback (most recent call last):
File "L:\Archives\NGS\BIO_INFO\BIO_INFO_Sam\scripts\cutevariant_project\cutevariant\cutevariant\gui\widgets\choice_button.py", line 87, in setData
self.rows_checked.remove(index.row())
KeyError: 2

To Reproduce
Try to use a plugin using the ChoiceButton widget (= try adding a field in the genotypes plugin, or filtering samples on their classification in the samples plugin, or execute the main in gui/widgets/choice_button.py )

Expected behavior
The cell is checked and no error appears

Desktop (please complete the following information):

  • OS: Windows 10
  • Version of Cutevariant: devel's latest commit: e19d32a
@SamuelNicaise SamuelNicaise added this to the Rosalind Franklin 0.4.5 milestone May 25, 2023
@SamuelNicaise SamuelNicaise self-assigned this May 25, 2023
SamuelNicaise added a commit that referenced this issue May 25, 2023
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

No branches or pull requests

1 participant