Mach30 / dof

Distributed OSHW Framework - A methodology for documenting and sharing Open Source Hardware
https://mach30.github.io/dof/
Creative Commons Attribution 4.0 International
8 stars 4 forks source link

Define data structure for function #36

Closed capsulecorplab closed 3 years ago

capsulecorplab commented 3 years ago

Defines data structure for a Function and adds functions: {{functions}} field to Component data structure closes #26 closes #29

j-simmons-phd commented 3 years ago

Function.inputs and Function.outputs should be lists instead of dictionaries as the Parameter data structure already has a name field. Similarly, Component.functions should be a list as the Function data structure already has a name. We can accept the PR once these changes are made.