Mercurial > repos > bimib > cobraxy
changeset 495:e19083971cc3 draft
Uploaded
author | francesco_lapi |
---|---|
date | Tue, 30 Sep 2025 15:17:55 +0000 |
parents | 5397559097dc |
children | 6c973150937b |
files | COBRAxy/metabolicModel2Tabular.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/metabolicModel2Tabular.py Tue Sep 30 15:09:53 2025 +0000 +++ b/COBRAxy/metabolicModel2Tabular.py Tue Sep 30 15:17:55 2025 +0000 @@ -188,6 +188,8 @@ utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.name).ext) else: # Load a built-in model + if not ARGS.model: + raise utils.ArgsErr("model", "either --model or --input must be provided", "None") try: model_enum = utils.Model[ARGS.model] # e.g., Model['ENGRO2']