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: e19d32a6fb5b721022e3910fc6e3df877827041a
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):