Commit a00a9e77 authored by Philip ABBET's avatar Philip ABBET

Refactoring: one InputGroup for both local and remote inputs

parent f6b6db58
......@@ -102,8 +102,7 @@ class Executor(object):
for name, channel in self.data['inputs'].items():
group = self.input_list.group(channel)
if group is None:
group = inputs.RemoteInputGroup(channel, (channel == main_channel),
socket=self.socket)
group = inputs.InputGroup(channel, restricted_access=(channel == main_channel))
self.input_list.add(group)
thisformat = self.algorithm.dataformats[self.algorithm.input_map[name]]
group.add(inputs.RemoteInput(name, thisformat, self.socket))
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment