From 57429db3cdd0a0f99b1031a01bca8a7893ca7227 Mon Sep 17 00:00:00 2001 From: HACKERMD Date: Fri, 23 Jun 2017 23:04:59 +0200 Subject: [PATCH] Add log message when saving jterator handles --- tmserver/jtui/api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmserver/jtui/api.py b/tmserver/jtui/api.py index 3148db4..b720a83 100644 --- a/tmserver/jtui/api.py +++ b/tmserver/jtui/api.py @@ -113,10 +113,10 @@ def update_project(experiment_id): data = json.loads(request.data) project = yaml.load(data['project']) pipeline_description = PipelineDescription(**project['pipe']['description']) - handles_descriptions = { - h['name']: HandleDescriptions(**h['description']) - for h in project['handles'] - } + handles_descriptions = dict() + for h in project['handles']: + logger.info('check handles of module "%s"', h['name']) + handles_descriptions[h['name']] = HandleDescriptions(**h['description']) jt = ImageAnalysisPipelineEngine( experiment_id, pipeline_description=pipeline_description,