Mercurial > repos > bimib > cobraxy
comparison COBRAxy/flux_simulation.py @ 334:c561c060a55f draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 04 Sep 2025 12:04:42 +0000 |
parents | 3ca179b83574 |
children |
comparison
equal
deleted
inserted
replaced
333:a7d52bde3efe | 334:c561c060a55f |
---|---|
386 model_type :utils.Model = ARGS.model_selector | 386 model_type :utils.Model = ARGS.model_selector |
387 if model_type is utils.Model.Custom: | 387 if model_type is utils.Model.Custom: |
388 model = model_type.getCOBRAmodel(customPath = utils.FilePath.fromStrPath(ARGS.model), customExtension = utils.FilePath.fromStrPath(ARGS.model_name).ext) | 388 model = model_type.getCOBRAmodel(customPath = utils.FilePath.fromStrPath(ARGS.model), customExtension = utils.FilePath.fromStrPath(ARGS.model_name).ext) |
389 else: | 389 else: |
390 model = model_type.getCOBRAmodel(toolDir=ARGS.tool_dir) | 390 model = model_type.getCOBRAmodel(toolDir=ARGS.tool_dir) |
391 | |
392 #Set solver verbosity to 1 to see warning and error messages only. | |
393 model.solver.configuration.verbosity = 1 | |
391 | 394 |
392 ARGS.bounds = ARGS.input.split(",") | 395 ARGS.bounds = ARGS.input.split(",") |
393 ARGS.bounds_name = ARGS.names.split(",") | 396 ARGS.bounds_name = ARGS.names.split(",") |
394 ARGS.output_types = ARGS.output_type.split(",") | 397 ARGS.output_types = ARGS.output_type.split(",") |
395 ARGS.output_type_analysis = ARGS.output_type_analysis.split(",") | 398 ARGS.output_type_analysis = ARGS.output_type_analysis.split(",") |