Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcpni committed Nov 7, 2021
1 parent a8eb851 commit bc6f4a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ def _instantiate_input_ports(self, input_ports=None, context=None):
self.outcome_input_ports.append(self.input_ports[OUTCOME])

def _instantiate_montiored_for_control_input_ports(self, context):
"""Instantiate InputPorts for items specified in monitor_for_control.
"""Instantiate InputPorts for items specified in monitor_for_control.
Return sender ports and their value sizes
"""
Expand Down Expand Up @@ -1822,7 +1822,7 @@ def _activate_projections_for_compositions(self, composition=None):

if composition:
if self.objective_mechanism and self.objective_mechanism in composition.nodes:
# Safe to add this, as it is already in the ControlMechanism's aux_components
# Safe to add this, as it is already in the ControlMechanism's aux_components
# and will therefore be added to the Composition along with the ControlMechanism
from psyneulink.core.compositions.composition import NodeRole
assert (self.objective_mechanism, NodeRole.CONTROL_OBJECTIVE) in self.aux_components, \
Expand Down

0 comments on commit bc6f4a9

Please sign in to comment.