We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86074d8 commit 40c749bCopy full SHA for 40c749b
1 file changed
src/hyperbase/parsers/badness.py
@@ -66,12 +66,12 @@ def _visit(current_edge: Hyperedge) -> None:
66
)
67
68
else:
69
- if types != {"R"} and types != {"C"}:
+ if len(types) > 1 and types != {"C", "R"}:
70
current_errors.append(
71
(
72
"bad-junction-types",
73
- "Junction arguments should ideally be all of type 'R' "
74
- "or all of type 'C'.",
+ "Junction arguments should ideally be all of the same "
+ "type or a combination of 'R' and 'C' types.",
75
3,
76
77
0 commit comments