Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcpni committed Dec 3, 2021
1 parent 24a7340 commit 1cca7d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,6 @@ def _instantiate_input_ports(self, input_ports=None, context=None):
super()._instantiate_input_ports(context=context)
self.outcome_input_ports.append(self.input_ports[OUTCOME])


def _parse_monitor_for_control_input_ports(self, context):
"""Get outcome_input_port specification dictionaries for items specified in monitor_for_control.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2141,4 +2141,4 @@ def add_state_features(self, features, context=None):
if features:
features = self._parse_state_feature_specs(features=features,
context=context)
self.add_ports(InputPort, features)
self.add_ports(InputPort, features)
3 changes: 0 additions & 3 deletions psyneulink/core/compositions/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5384,9 +5384,6 @@ def _get_correct_sender(comp, shadowed_projection):
def _get_sender_at_right_level(shadowed_proj):
"""Search back up hierarchy of nested Compositions for sender at same level as **input_port**"""
if not isinstance(shadowed_proj.sender.owner, CompositionInterfaceMechanism):
# raise CompositionError(f"Attempt to shadow Projection to {shadowed_proj.receiver.owner.name} "
# f"(from {shadowed_proj.sender.owner.name}) that is an INTERNAL Node "
# f"in nested Composition of {self.name} is not currently supported.")
raise CompositionError(f"Attempt to shadow the input(s) to a node "
f"({shadowed_proj.receiver.owner.name}) in a nested Composition "
f"(of {self.name}) is not currently supported.")
Expand Down

0 comments on commit 1cca7d6

Please sign in to comment.