From 4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 12 Oct 2017 11:07:48 +0200 Subject: o Making 'footprint' a special field so it is always included in the to_pandas data frame. --- src/ee/kicad/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee') diff --git a/src/ee/kicad/__init__.py b/src/ee/kicad/__init__.py index d2d48da..f431e13 100644 --- a/src/ee/kicad/__init__.py +++ b/src/ee/kicad/__init__.py @@ -28,7 +28,7 @@ def to_pandas(obj: Any, **kwarg): def to_pandas_schematic(sch: Schematic): # These fields will always be put first. - special_fields = ["ref", "ref_type", "ref_num", "value"] + special_fields = ["ref", "ref_type", "ref_num", "value", "footprint"] def make_dict(c: Component): fields = { -- cgit v1.2.3