Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
capacitor instances; all TESTS PASS
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Aug 29, 2024
1 parent a003fca commit 0fd2954
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/faebryk/library/Capacitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class TemperatureCoefficient(IntEnum):

unnamed = L.if_list(2, F.Electrical)

capacitance = F.TBD[Quantity]()
rated_voltage = F.TBD[Quantity]()
temperature_coefficient = F.TBD[TemperatureCoefficient]()
capacitance: F.TBD[Quantity]
rated_voltage: F.TBD[Quantity]
temperature_coefficient: F.TBD[TemperatureCoefficient]

attach_to_footprint: F.can_attach_to_footprint_symmetrically
designator_prefix = L.f_field(F.has_designator_prefix_defined)("C")
Expand Down
5 changes: 0 additions & 5 deletions test/exporters/netlist/kicad/test_netlist_kicad.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,3 @@ def test_netlist(self):

ok, _ = _test_netlist_graph()
self.assertTrue(ok)


import typer

typer.run(TestNetlist().test_netlist)

0 comments on commit 0fd2954

Please sign in to comment.