diff --git a/psyneulink/core/compositions/composition.py b/psyneulink/core/compositions/composition.py index 4ef2b9adc4..1e7fd49fe5 100644 --- a/psyneulink/core/compositions/composition.py +++ b/psyneulink/core/compositions/composition.py @@ -4641,7 +4641,7 @@ def _add_required_node_role(self, node, role, context=None): raise CompositionError('Invalid NodeRole: {0}'.format(role)) # Disallow assignment of NodeRoles by user that are not programmitically modifiable: - # FIX 4/25/20 [JDC]: CHECK IF ROLE OR EQUIVALENT STATUS HAS ALREADY BEEN ASSIGNED AND, IF SO, ISSUE WARNING + # FIX 4/25/20 [JDC] - CHECK IF ROLE OR EQUIVALENT STATUS HAS ALREADY BEEN ASSIGNED AND, IF SO, ISSUE WARNING if context.source == ContextFlags.COMMAND_LINE: if role in {NodeRole.CONTROL_OBJECTIVE, NodeRole.CONTROLLER_OBJECTIVE} and not node.control_mechanism: warnings.warn(f"{role} should be assigned with caution to {self.name}. "