Mercurial > repos > bimib > cobraxy
comparison COBRAxy/metabolicModel2Tabular.py @ 497:36838126cc07 draft
Uploaded
author | francesco_lapi |
---|---|
date | Tue, 30 Sep 2025 15:32:27 +0000 |
parents | 6c973150937b |
children | df90f40a156c |
comparison
equal
deleted
inserted
replaced
496:6c973150937b | 497:36838126cc07 |
---|---|
186 ARGS.name = ' '.join(ARGS.name) | 186 ARGS.name = ' '.join(ARGS.name) |
187 | 187 |
188 if ARGS.input: | 188 if ARGS.input: |
189 # Load a custom model from file | 189 # Load a custom model from file |
190 model = load_custom_model( | 190 model = load_custom_model( |
191 utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.name).ext) | 191 utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.input).ext) |
192 else: | 192 else: |
193 # Load a built-in model | 193 # Load a built-in model |
194 if not ARGS.model: | 194 if not ARGS.model: |
195 raise utils.ArgsErr("model", "either --model or --input must be provided", "None") | 195 raise utils.ArgsErr("model", "either --model or --input must be provided", "None") |
196 | 196 |