|
@@ -798,8 +798,9 @@ class ReachGraspIO(BlackrockIO):
|
|
|
# if views are already created, link them to unit groups
|
|
|
if view_dict:
|
|
|
for chid, channel_dict in unit_dict.items():
|
|
|
- for unit_id, group in channel_dict.items():
|
|
|
- group.add(view_dict[chid])
|
|
|
+ if chid in view_dict:
|
|
|
+ for unit_id, group in channel_dict.items():
|
|
|
+ group.add(view_dict[chid])
|
|
|
|
|
|
def __create_channel_views(self, block):
|
|
|
view_dict = {}
|