From 3d4f5a34341d677c5e6b0690f844c70b735c846b Mon Sep 17 00:00:00 2001 From: frederick Date: Fri, 2 Oct 2026 09:10:27 +0100 Subject: [PATCH] fixing error test_path being undefined and replacing with config path --- e02/templates/ptyrex_basic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e02/templates/ptyrex_basic.yaml b/e02/templates/ptyrex_basic.yaml index 7e47926..9ca03ac 100644 --- a/e02/templates/ptyrex_basic.yaml +++ b/e02/templates/ptyrex_basic.yaml @@ -157,11 +157,11 @@ spec: import numpy as np from PIL import Image print('###start of log###') - print('json path: %s' % (test_path)) + print('json path: %s' % ("{{`{{workflow.parameters.config_json}}`}}")) print('###end of log###') #find the output path of the recon from loading the json used in the recon - json_path = test_path + json_path = "{{`{{workflow.parameters.config_json}}`}}" with open(json_path,'r') as f: json_data = json.load(f) outdir = json_data['process']['save_dir']