Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter CIM Class Removal: #1269

Merged
merged 1 commit into from
Aug 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
from psyneulink.core.components.component import parameter_keywords
from psyneulink.core.components.functions.transferfunctions import Linear
from psyneulink.core.components.mechanisms.adaptive.control.controlmechanism import ControlMechanism
from psyneulink.core.components.mechanisms.processing.parameterinterfacemechanism import ParameterInterfaceMechanism
from psyneulink.core.components.projections.modulatory.modulatoryprojection import ModulatoryProjection_Base
from psyneulink.core.components.projections.projection import ProjectionError, Projection_Base, projection_keywords
from psyneulink.core.components.shellclasses import Mechanism, Process_Base
Expand Down Expand Up @@ -385,7 +384,7 @@ def _instantiate_sender(self, sender, params=None, context=None):
# If sender is specified as a Mechanism, validate that it is a ControlMechanism
if isinstance(sender, Mechanism):
# If sender is a ControlMechanism, call it to instantiate its ControlSignal projection
if not isinstance(sender, (ControlMechanism, ParameterInterfaceMechanism)):
if not isinstance(sender, ControlMechanism):
raise ControlProjectionError(
"Mechanism specified as sender for {} ({}) must be a "
"ControlMechanism (but it is a {})".format(
Expand Down
1 change: 0 additions & 1 deletion psyneulink/core/globals/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ def _is_metric(metric):
INTEGRATOR_MECHANISM = "IntegratorMechanism"
DDM_MECHANISM = "DDM"
COMPOSITION_INTERFACE_MECHANISM = "CompositionInterfaceMechanism"
PARAMETER_INTERFACE_MECHANISM = "ParameterInterfaceMechanism"
PROCESSING_MECHANISM = "ProcessingMechanism"

# Functions:
Expand Down