Skip to content

ChoiceButton widget doesn't work anymore #585

@SamuelNicaise

Description

@SamuelNicaise

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions