aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-10-12 11:07:48 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-10-12 11:07:48 +0200
commit4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3 (patch)
treeb014ad47731a6c5254f9742e6abc7e1925007c2d /src
parent284ac6c00ae53baa435d589b69751f5f292df3b1 (diff)
downloadee-python-4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3.tar.gz
ee-python-4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3.tar.bz2
ee-python-4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3.tar.xz
ee-python-4d2856481851aa78c9bb4c5b6f8ed644d7e10cb3.zip
o Making 'footprint' a special field so it is always included in the to_pandas data frame.
Diffstat (limited to 'src')
-rw-r--r--src/ee/kicad/__init__.py2
1 files changed, 1 insertions, 1 deletions
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 = {