Skip to content

Commit

Permalink
improve warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
axelvonkamp committed Jul 5, 2024
1 parent 7be3f40 commit ba981ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cnapy/gui_elements/strain_design_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,14 +1353,14 @@ def compute(self):
if self.solver_buttons['OPTLANG'].isChecked():
if len(bilvl_modules) > 0:
QMessageBox.information(self, "Bilevel modules not supported",
"Mmodule types 'OptKnock', " +\
"Module types 'OptKnock', " +\
"'RobustKnock' and 'OptCouple' are not supported " +\
"by optlang_enumerator.")
"by optlang_enumerator.\nChoose one of the StrainDesign solvers instead.")
return
if sd_setup['gene_kos']:
QMessageBox.information(self, "Gene knock-outs not supported",
"optlang_enumerator only calculates reaction " +\
"knock-outs.")
"knock-outs.\nChoose one of the StrainDesign solvers instead.")
return
if len(sd_setup.get(REGCOST, [])) > 0:
if QMessageBox.information(self, "Regulatory interventions not supported",
Expand Down

0 comments on commit ba981ef

Please sign in to comment.