From f3d85fed868cac816a34ba360bbe6e7bf56bee67 Mon Sep 17 00:00:00 2001 From: Mathieu Doucet Date: Tue, 26 Mar 2024 13:17:49 -0400 Subject: [PATCH] give loaded ws better name --- reduction/lr_reduction/__init__.py | 2 +- reduction/lr_reduction/template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reduction/lr_reduction/__init__.py b/reduction/lr_reduction/__init__.py index b03a62d..19dc9e5 100644 --- a/reduction/lr_reduction/__init__.py +++ b/reduction/lr_reduction/__init__.py @@ -1 +1 @@ -__version__ = '2.0.20' +__version__ = '2.0.21' diff --git a/reduction/lr_reduction/template.py b/reduction/lr_reduction/template.py index 9c89eb3..161008b 100644 --- a/reduction/lr_reduction/template.py +++ b/reduction/lr_reduction/template.py @@ -137,7 +137,7 @@ def process_from_template(run_number, template_path, q_summing=False, normalize= list_of_runs = str(run_number).split(',') run_number = '+'.join(list_of_runs) # Load data - ws_sc = api.Load("REF_L_%s" % run_number) + ws_sc = api.Load("REF_L_%s" % run_number, OutputWorkspace="REF_L_%s" % run_number) return process_from_template_ws(ws_sc, template_path, q_summing=q_summing, tof_weighted=tof_weighted, bck_in_q=bck_in_q, clean=clean, info=info, normalize=normalize)