MDF icon indicating copy to clipboard operation
MDF copied to clipboard

Allow parameters in Graph to be accessible from any node?

Open pgleeson opened this issue 1 year ago • 0 comments

Should parameters listed in the Graph element be usable in (any) Nodes in the Graph? https://mdf.readthedocs.io/en/latest/api/Specification.html#graph

It seems to make sense that they would, so you can set a value once and use it in multiple nodes.

Would need to be implemented in here: https://github.com/ModECI/MDF/blob/ca4843a46f50abfdc6934d59b5c96f7cb6e6cb3e/src/modeci_mdf/execution_engine.py#L999 and passed to every node (and edge?)...

@davidt0x Are there global parameters in PsyNeuLink models?

pgleeson avatar Mar 19 '24 18:03 pgleeson