[this issue should be addressed AFTER pulling the branch by @StefanPatman to become the main branch and thereby solving the memory leak problem]
When the "all against all" mode is selected, then the "Open reference sequence database" button should be disabled. The best would be that it is greyed out or otherwise when pressing it, nothing happens.
Alternatively, if this is complicated, then let the user select the reference database, but if a reference database is selected in the "all against all" mode and the user presses "Run", then a notification appears:
"You have selected the "All against all sequence comparison" mode. A reference database is not needed in this mode and the selected reference database file will be ignored."
[this issue should be addressed AFTER pulling the branch by @StefanPatman to become the main branch and thereby solving the memory leak problem]
When the "all against all" mode is selected, then the "Open reference sequence database" button should be disabled. The best would be that it is greyed out or otherwise when pressing it, nothing happens.
Alternatively, if this is complicated, then let the user select the reference database, but if a reference database is selected in the "all against all" mode and the user presses "Run", then a notification appears: "You have selected the "All against all sequence comparison" mode. A reference database is not needed in this mode and the selected reference database file will be ignored."