diff COBRAxy/flux_simulation.py @ 334:c561c060a55f draft

Uploaded
author luca_milaz
date Thu, 04 Sep 2025 12:04:42 +0000
parents 3ca179b83574
children
line wrap: on
line diff
--- a/COBRAxy/flux_simulation.py	Wed Sep 03 14:25:10 2025 +0000
+++ b/COBRAxy/flux_simulation.py	Thu Sep 04 12:04:42 2025 +0000
@@ -388,6 +388,9 @@
         model = model_type.getCOBRAmodel(customPath = utils.FilePath.fromStrPath(ARGS.model), customExtension = utils.FilePath.fromStrPath(ARGS.model_name).ext)
     else:
         model = model_type.getCOBRAmodel(toolDir=ARGS.tool_dir)
+
+    #Set solver verbosity to 1 to see warning and error messages only.
+    model.solver.configuration.verbosity = 1
     
     ARGS.bounds = ARGS.input.split(",")
     ARGS.bounds_name = ARGS.names.split(",")