Added debug information to out_bom to detect the line numbers issue.

This commit is contained in:
Salvador E. Tropea 2020-10-16 16:32:24 -03:00
parent 7c7549e6d7
commit ae9e889bc0
1 changed files with 9 additions and 7 deletions

View File

@ -19,6 +19,7 @@ from .bom.bom import do_bom
from .var_kibom import KiBoM
from .fil_base import BaseFilter, apply_exclude_filter, apply_fitted_filter, apply_fixed_filter, reset_filters
from . import log
from .mcpyrate.debug import macros, step_expansion
logger = log.get_logger(__name__)
VALID_STYLES = {'modern-blue', 'modern-green', 'modern-red', 'classic'}
@ -36,13 +37,14 @@ class BoMColumns(Optionable):
def __init__(self):
super().__init__()
self._unkown_is_error = True
with document:
self.field = ''
""" Name of the field to use for this column """
self.name = ''
""" Name to display in the header. The field is used when empty """
self.join = Optionable
""" [list(string)|string=''] List of fields to join to this column """
with step_expansion:
with document:
self.field = ''
""" Name of the field to use for this column """
self.name = ''
""" Name to display in the header. The field is used when empty """
self.join = Optionable
""" [list(string)|string=''] List of fields to join to this column """
def config(self):
super().config()