-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feat/ocm/state and state dict #2281
Conversation
…Link into devel � Conflicts: � psyneulink/core/components/mechanisms/modulatory/control/optimizationcontrolmechanism.py
- _assign_incoming_edges(): allow input_CIM of outermost comp to render as node
- _assign_incoming_edges(): allow input_CIM of outermost comp to render as node - _assign_controller_components(): allow direct projections from nested nodes to OCM or ObjectiveMechanism when show_cim=False
add test_projections_from_nested_comp_to_ocm_or_obj_mech
- add state and state_dict properties • composition.py: - add _get_source() - add _get_destination() • compositioninterfacemechanism.py: - add _get_modulated_info_from_parameter_CIM() - _get_source_node_for_output_CIM -> _get_source_info_from_output_CIM - _get_destination_node_for_input_CIM -> _get_destination_info_from_input_CIM
…Link into feat/ocm/state_and_state_dict � Conflicts: � psyneulink/core/components/mechanisms/processing/compositioninterfacemechanism.py � psyneulink/core/compositions/showgraph.py
This pull request introduces 1 alert when merging 9f0c78b into 21e685c - view on LGTM.com new alerts:
|
- state_dict: fix bug in which comp for state_feature using output_port was incorrect - _parse_state_feature_specs(): fix bug in which state_feature using output_port did not get assigned a Projection •
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This pull request introduces 1 alert when merging db97888 into 21e685c - view on LGTM.com new alerts:
|
-_update_state_input_ports_for_controller: validate state_features that specify an output_port (vs. shadow)
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This pull request introduces 1 alert when merging 32bd059 into 21e685c - view on LGTM.com new alerts:
|
add test_ocm_state_input_ports_warnings_and_errors
This pull request introduces 1 alert when merging 4810379 into 21e685c - view on LGTM.com new alerts:
|
restore autodoc_typehints = 'none'
This pull request introduces 1 alert when merging 3b6bfb9 into 21e685c - view on LGTM.com new alerts:
|
_update_state_input_ports_for_controller: - add check of against format of inputs required by agent_rep.run
- add_controller(): fix bug in which state_features that receive from the outputport of a node in the same composition were not being activated
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
_update_state_input_ports_for_controller: modified warning message for use of state_features
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
• optimizationcontrolmechanism.py
fix bug in which state_feature using output_port did not get assigned a Projection
-_update_state_input_ports_for_controller:
validate state_features that specify an output_port (vs. shadow)
• controlmechanism.py:
were not being activated
• composition.py:
• compositioninterfacemechanism.py:
• test_control.py: