Skip to content
Snippets Groups Projects
Commit 0d5506c1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[helpers] Add loop information parsing

The format is:

"loop": {
    "input": {
        "type": "data_format_name"
    },
    "output": {
        "type": "data_format_name"
    }
}
parent cb8a4593
Branches
Tags
2 merge requests!281.6.x,!27Soft loop
......@@ -77,6 +77,10 @@ def convert_experiment_configuration_to_container(config):
else:
data['result'] = { 'channel': config['channel'], 'path': config['result']['path'] }
if 'loop' in config:
data['loop'] = \
dict([(k, { 'channel': v['channel'], 'path': v['path'] }) for k,v in config['loop'].items()])
return data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment