From 5abc1792e281b049df37eaa02c6ab3b6cbd8e4b0 Mon Sep 17 00:00:00 2001 From: Adriaan Renting <renting@astron.nl> Date: Mon, 20 Jun 2016 14:31:03 +0000 Subject: [PATCH] Task #9192: Fix for incorrect otdb_id in file names --- SAS/ResourceAssignment/ResourceAssignmentEstimator/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAS/ResourceAssignment/ResourceAssignmentEstimator/service.py b/SAS/ResourceAssignment/ResourceAssignmentEstimator/service.py index 2974574ffb6..ca0abb9b3eb 100644 --- a/SAS/ResourceAssignment/ResourceAssignmentEstimator/service.py +++ b/SAS/ResourceAssignment/ResourceAssignmentEstimator/service.py @@ -53,7 +53,7 @@ class ResourceEstimatorHandler(MessageHandlerInterface): if not 'im' in estimate.values()[0]['storage']['output_files'] and 'uv' in estimate.values()[0]['storage']['output_files']: # Not a calibrator pipeline logger.info('found %s as the target of pipeline %s' % (id, otdb_id)) input_files['uv'] = estimate.values()[0]['storage']['output_files']['uv'] - else if 'im' in estimate.values()[0]['storage']['output_files']: + elif 'im' in estimate.values()[0]['storage']['output_files']: input_files['im'] = estimate.values()[0]['storage']['output_files']['im'] return {str(otdb_id): self.add_id(self.calibration_pipeline.verify_and_estimate(parset, input_files), otdb_id)} -- GitLab