Adapted test_kicost_simple references.

This commit is contained in:
Salvador E. Tropea 2021-04-25 10:28:56 -03:00
parent 1a6e6548ed
commit 1878510a47
5 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Prj:,KiBom Test Schematic,,,,Board Qty:,100
Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0
Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0
Global Part Info,,,,,,
Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$
C1,1nF,,,100,,0

1 Prj: KiBom Test Schematic Board Qty: 100
2 Co.: https://github.com/SchrodingersGat/KiBom Unit Cost: 0
3 Prj date: mar 30 mar 2021 09:46:24 Total Cost: 0
4 Global Part Info
5 Refs Value Footprint Manf# Qty Unit$ Ext$
6 C1 1nF 100 0

View File

@ -1,5 +1,6 @@
Prj:,KiBom Test Schematic,,,,Board Qty:,100
Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0
Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0
Global Part Info,,,,,,
Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$
R1,1k,,,100,,0

1 Prj: KiBom Test Schematic Board Qty: 100
2 Co.: https://github.com/SchrodingersGat/KiBom Unit Cost: 0
3 Prj date: mar 30 mar 2021 09:46:24 Total Cost: 0
4 Global Part Info
5 Refs Value Footprint Manf# Qty Unit$ Ext$
6 R1 1k 100 0

View File

@ -1,5 +1,6 @@
Prj:,KiBom Test Schematic,,,,Board Qty:,100
Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0
Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0
Global Part Info,,,,,,
Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$
C2,1000 pF,,,100,,0

1 Prj: KiBom Test Schematic Board Qty: 100
2 Co.: https://github.com/SchrodingersGat/KiBom Unit Cost: 0
3 Prj date: mar 30 mar 2021 09:46:24 Total Cost: 0
4 Global Part Info
5 Refs Value Footprint Manf# Qty Unit$ Ext$
6 C2 1000 pF 100 0

View File

@ -1,5 +1,6 @@
Prj:,KiBom Test Schematic,,,,Board Qty:,100
Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0
Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0
Global Part Info,,,,,,
Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$
C1,1nF,,,100,,0

1 Prj: KiBom Test Schematic Board Qty: 100
2 Co.: https://github.com/SchrodingersGat/KiBom Unit Cost: 0
3 Prj date: mar 30 mar 2021 09:46:24 Total Cost: 0
4 Global Part Info
5 Refs Value Footprint Manf# Qty Unit$ Ext$
6 C1 1nF 100 0

View File

@ -31,7 +31,7 @@ def convert2csv(xlsx, skip_empty=False, sheet=None):
cmd.append(xlsx)
p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE)
with open(csv, 'w') as f:
p2 = subprocess.Popen(['egrep', '-i', '-v', r'(created|kicost|Total purchase)'], stdin=p1.stdout, stdout=f)
p2 = subprocess.Popen(['egrep', '-i', '-v', r'(\$ date|created|kicost|Total purchase)'], stdin=p1.stdout, stdout=f)
p2.communicate()[0]