Skip to content

Mechanism nodes created by the EMComposition json_summary issue #3174

Description

@ddelpiano

As per title, we noticed that some of the nodes created as boilerplate by the EMCompositon have some problems in the json summary, in details it seems that the input ports are not documented correctly in the json summary and instead these are projections linked to the node itself.

An example:

checking the node (ProcessingMechanism PREVIOUS_STATE [QUERY]) we can see that the json summary, at the input ports key has the following:

'PREVIOUS_STATE__QUERY__input_port__INPUT_CIM_PREVIOUS_STATE__QUERY__InputPort_0__to__PREVIOUS_STATE__QUERY__InputPort_0_'

and

'PREVIOUS_STATE__QUERY__input_port_MappingProjection_from_PREVIOUS_STATE_OutputPort_0__to_PREVIOUS_STATE__QUERY__InputPort_0_'

which, looking into the data does not seems to be input ports, also confirmed by checking node.input_ports which return the following:

[(InputPort InputPort-0)]

Follow the model used:
https://github.com/MetaCell/PsyNeuLinkView/tree/main/test_models/CSW

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions