Mercurial > repos > tduigou > seq_to_db
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1:5db1c2b9edb8 | 2:d77ff06f5dc9 |
|---|---|
| 207 | 207 |
| 208 if use_json: | 208 if use_json: |
| 209 if not args.json_conf: | 209 if not args.json_conf: |
| 210 raise ValueError("You must provide --json_conf when --use_json_paramers is 'true'") | 210 raise ValueError("You must provide --json_conf when --use_json_paramers is 'true'") |
| 211 with open(args.json_conf, "r") as f: | 211 with open(args.json_conf, "r") as f: |
| 212 full_config = json.load(f) | 212 config_params = json.load(f) |
| 213 config_params = full_config["seq_to_db_param"] | |
| 214 if config_params.get("execution", "") == "false": | 213 if config_params.get("execution", "") == "false": |
| 215 print("Execution blocked by config (execution = false)") | 214 print("Execution blocked by config (execution = false)") |
| 216 return | 215 return |
| 217 else: | 216 else: |
| 218 config_params = { | 217 config_params = { |
