changeset 350:6f1065c00211 draft

Uploaded
author francesco_lapi
date Thu, 04 Sep 2025 22:49:01 +0000
parents 39993b9d5ec8
children ffb2cfe8ec2e
files COBRAxy/custom_data_generator.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/custom_data_generator.py	Thu Sep 04 22:44:19 2025 +0000
+++ b/COBRAxy/custom_data_generator.py	Thu Sep 04 22:49:01 2025 +0000
@@ -203,7 +203,7 @@
     if os.path.isdir(ARGS.output_path) == False: 
         os.makedirs(ARGS.output_path)
 
-    if ARGS.input != "None":
+    if ARGS.input:
         # load custom model
         model = load_custom_model(
             utils.FilePath.fromStrPath(ARGS.input), utils.FilePath.fromStrPath(ARGS.name).ext)