From ba981efe3e236396ca1858d976b10b1b73bfb0af Mon Sep 17 00:00:00 2001 From: axelvonkamp Date: Fri, 5 Jul 2024 09:54:38 +0200 Subject: [PATCH] improve warning messages --- cnapy/gui_elements/strain_design_dialog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cnapy/gui_elements/strain_design_dialog.py b/cnapy/gui_elements/strain_design_dialog.py index 6e11fbd..a2204c8 100644 --- a/cnapy/gui_elements/strain_design_dialog.py +++ b/cnapy/gui_elements/strain_design_dialog.py @@ -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",