Skip to content

How to represent a function? #21

@liamhuber

Description

@liamhuber

Context

Right now there are two functions which ostensibly convert function information into a dictionary format. One that gives us inputs, outputs, a label, and semantikon metadata (which is currently flat alongside the other fields, but maybe later we'll nest it per pyiron/semantikon#159):

https://github.com/pyiron/semantikon/blob/c6a95f5c563d8ddc6a9cb54a68a7c8af37f90e57/semantikon/workflow.py#L431-L452

And another which gives use a function, inputs, and outputs

https://github.com/pyiron/semantikon/blob/c6a95f5c563d8ddc6a9cb54a68a7c8af37f90e57/semantikon/workflow.py#L490-L493

Only later in the context of another method does the latter pick up the label and semantikon metadata fields:

https://github.com/pyiron/semantikon/blob/e3f084ebd35668846113ee72ae5e8825a716f8da/semantikon/workflow.py#L312-L330

Questions

Sub-issues

Sub-issues

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