From e81b743ebbee412483f02c6efc70302f7b3750ee Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 2 Dec 2022 23:25:27 -0300 Subject: [PATCH] [KiBoM][Fixed] User defined fields wasn't available as column names. Fixes #344 --- CHANGELOG.md | 3 ++- kibot/out_kibom.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 918cc28d..592e8a1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,12 +60,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 yet. (#323) - Report: Problems when using NPTH holes with sizes that doesn't correspond to real drill tools. It generated bogus reports about wrong OARs. (#326) -- BoM: Digi-key link in the HTML output. - Problems when using more than one dielectric in the stack-up. (#328) - Gerber: Extension used for JLCPCB inner layers. (#329) - BoM: - The length of the CSV separator is now validated. - Using \t, \n, \r and \\ is now supported. (See #334) + - Digi-key link in the HTML output. +- KiBoM: User defined fields wasn't available as column names. (#344) - Imports: - Problems with recursive imports when the intermediate import didn't contain any of the requested elements (i.e. no outputs). (#335) diff --git a/kibot/out_kibom.py b/kibot/out_kibom.py index 24349b41..c85ea94e 100644 --- a/kibot/out_kibom.py +++ b/kibot/out_kibom.py @@ -215,7 +215,7 @@ class KiBoMConfig(Optionable): if csv: os.remove(csv) logger.debug('Output from command:\n'+cmd_output.decode()) - return columns + return GS.sch.get_field_names(columns) def config(self, parent): super().config(parent)