@@ -50,7 +50,7 @@ def _ordering(
50
50
node_nm = el [0 ][1 :]
51
51
if node_nm not in other_states and state_fields :
52
52
raise Exception (
53
- "can't ask for splitter from {}, other nodes that are connected: " .format (
53
+ "can't ask for splitter from {}, other nodes that are connected: {} " .format (
54
54
node_nm , other_states .keys ()
55
55
)
56
56
)
@@ -65,7 +65,7 @@ def _ordering(
65
65
node_nm = el [1 ][1 :]
66
66
if node_nm not in other_states and state_fields :
67
67
raise Exception (
68
- "can't ask for splitter from {}, other nodes that are connected: " .format (
68
+ "can't ask for splitter from {}, other nodes that are connected: {} " .format (
69
69
node_nm , other_states .keys ()
70
70
)
71
71
)
@@ -88,7 +88,7 @@ def _ordering(
88
88
node_nm = el [0 ][1 :]
89
89
if node_nm not in other_states and state_fields :
90
90
raise Exception (
91
- "can't ask for splitter from {}, other nodes that are connected: " .format (
91
+ "can't ask for splitter from {}, other nodes that are connected: {} " .format (
92
92
node_nm , other_states .keys ()
93
93
)
94
94
)
@@ -103,7 +103,7 @@ def _ordering(
103
103
node_nm = el [1 ][1 :]
104
104
if node_nm not in other_states and state_fields :
105
105
raise Exception (
106
- "can't ask for splitter from {}, other nodes that are connected: " .format (
106
+ "can't ask for splitter from {}, other nodes that are connected: {} " .format (
107
107
node_nm , other_states .keys ()
108
108
)
109
109
)
@@ -126,7 +126,7 @@ def _ordering(
126
126
node_nm = el [1 :]
127
127
if node_nm not in other_states and state_fields :
128
128
raise Exception (
129
- "can't ask for splitter from {}, other nodes that are connected: " .format (
129
+ "can't ask for splitter from {}, other nodes that are connected: {} " .format (
130
130
node_nm , other_states .keys ()
131
131
)
132
132
)
@@ -673,7 +673,7 @@ def _single_op_splits(
673
673
inputs ,
674
674
inner_inputs ,
675
675
previous_states_ind ,
676
- keys_fromLeftSpl ,
676
+ keys_fromLeftSpl , # TODO NOW do I need it?
677
677
cont_dim = None ,
678
678
):
679
679
if op_single .startswith ("_" ):
@@ -721,7 +721,9 @@ def _single_op_splits_groups(
721
721
return [], {}, [], combiner
722
722
else :
723
723
raise Exception (
724
- "combiner {} not in splitter_rpn: {}" .format (combiner [0 ], [op_single ])
724
+ "all fields from the combiner have to be in splitter_rpn: {}, but combiner: {} is set" .format (
725
+ [op_single ], combiner
726
+ )
725
727
)
726
728
else :
727
729
return keys , groups , groups_stack , []
0 commit comments