From 9f228e794d1783553be1f1f3f7d5e6c8471b4bcd Mon Sep 17 00:00:00 2001 From: Teo Bucci Date: Wed, 27 Mar 2024 20:26:28 +0100 Subject: [PATCH] Update reponse in the wps file as well --- hawk/processes/wps_causal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hawk/processes/wps_causal.py b/hawk/processes/wps_causal.py index 3a1e337..1f25c35 100644 --- a/hawk/processes/wps_causal.py +++ b/hawk/processes/wps_causal.py @@ -213,6 +213,7 @@ def _handler(self, request, response): tefs_max_lag_features, tefs_max_lag_target, workdir, + response, ) causal_analysis.run() @@ -225,4 +226,6 @@ def _handler(self, request, response): response.outputs["png_tefs_wrapper"].file = causal_analysis.plot_tefs_wrapper response.outputs["pkl_tefs_wrapper"].file = causal_analysis.details_tefs_wrapper + response.update_status("Processing completed", 100) + return response