Update jlc_bom_formatter.py

This commit is contained in:
VIPQualityPost
2024-02-28 16:05:28 -05:00
committed by GitHub
parent f3fc2eec07
commit 6bdda91fe4

View File

@@ -14,7 +14,7 @@ def footprintFix(fpName):
bom_file = pd.read_csv(sys.argv[1])
bom_file.columns = ['Designator', 'Value', 'Footprint', 'JLCPCB']
bom_file.columns = ['Designator', 'Value', 'Footprint', 'JLCPCB Part #']
bom_file['Footprint'] = bom_file['Footprint'].apply(lambda x: footprintFix(x))
bom_file.to_csv(sys.argv[2], index=False)