Mercurial > repos > bimib > cobraxy
comparison COBRAxy/custom_data_generator.py @ 381:0a3ca20848f3 draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Fri, 05 Sep 2025 09:18:26 +0000 |
| parents | f4b83b3a3486 |
| children | 8a1213d1393d |
comparison
equal
deleted
inserted
replaced
| 380:03a7ba63813f | 381:0a3ca20848f3 |
|---|---|
| 218 """ | 218 """ |
| 219 # get args from frontend (related xml) | 219 # get args from frontend (related xml) |
| 220 global ARGS | 220 global ARGS |
| 221 ARGS = process_args(args) | 221 ARGS = process_args(args) |
| 222 | 222 |
| 223 # this is the worst thing I've seen so far, congrats to the former MaREA devs for suggesting this! | |
| 224 #if os.path.isdir(ARGS.output_path) == False: | |
| 225 # os.makedirs(ARGS.output_path) | |
| 226 | 223 |
| 227 if ARGS.input: | 224 if ARGS.input: |
| 228 # load custom model | 225 # load custom model |
| 229 model = load_custom_model( | 226 model = load_custom_model( |
| 230 utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.name).ext) | 227 utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.name).ext) |
