changeset 6:09904b1f61f5 draft default tip

planemo upload for repository https://github.com/goeckslab/gleam.git commit 8499c8d758e3ef28a65a62f59bb403edc4935413
author goeckslab
date Mon, 14 Jul 2025 14:47:32 +0000
parents d2d9a931addf
children
files image_learner_cli.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/image_learner_cli.py	Wed Jul 09 01:25:54 2025 +0000
+++ b/image_learner_cli.py	Mon Jul 14 14:47:32 2025 +0000
@@ -1240,6 +1240,8 @@
     aug_list = []
     for tok in aug_string.split(","):
         key = tok.strip()
+        if not key:
+            continue
         if key not in mapping:
             valid = ", ".join(mapping.keys())
             raise ValueError(f"Unknown augmentation '{key}'. Valid choices: {valid}")