diff save_to_db.py @ 2:d77ff06f5dc9 draft default tip

planemo upload for repository https://github.com/brsynth/galaxytools/tree/main/tools commit d8cc8b87fdb0374745b5420f2da7f08ae905c222-dirty
author tduigou
date Wed, 16 Jul 2025 14:51:52 +0000
parents 5db1c2b9edb8
children
line wrap: on
line diff
--- a/save_to_db.py	Fri Jul 11 14:16:33 2025 +0000
+++ b/save_to_db.py	Wed Jul 16 14:51:52 2025 +0000
@@ -209,8 +209,7 @@
         if not args.json_conf:
             raise ValueError("You must provide --json_conf when --use_json_paramers is 'true'")
         with open(args.json_conf, "r") as f:
-            full_config = json.load(f)
-            config_params = full_config["seq_to_db_param"]
+            config_params = json.load(f)
         if config_params.get("execution", "") == "false":
             print("Execution blocked by config (execution = false)")
             return