[Fixed] Problems when aggregating a CSV without footprint

See #248
This commit is contained in:
Salvador E. Tropea 2022-09-15 06:34:17 -03:00
parent e4ee39eadf
commit 76742bb69f
2 changed files with 7 additions and 8 deletions

View File

@ -763,7 +763,6 @@ class BoMOptions(BaseOptions):
number = 1
elif n == fp_index:
c.footprint = str(f)
c.footprint_lib = None
number = 2
elif ds_index:
c.datasheet = str(f)

View File

@ -1,7 +1,7 @@
Reference,Part,Value,Footprint
R1,R,10k,RC0805JR-0710KL
R2,R,1000,RC0805JR-071KL
R3,R,1000,RC0805JR-071KL
C1,C,10nF,GRM155R71E103KA01D
C2,C,1nF,GRM1555C1H102JA01D
R4,R,1000,RC0805JR-071KL
Reference,Part,Value
R1,R,10k
R2,R,1000
R3,R,1000
C1,C,10nF
C2,C,1nF
R4,R,1000

1 Reference Part Value Footprint
2 R1 R 10k RC0805JR-0710KL
3 R2 R 1000 RC0805JR-071KL
4 R3 R 1000 RC0805JR-071KL
5 C1 C 10nF GRM155R71E103KA01D
6 C2 C 1nF GRM1555C1H102JA01D
7 R4 R 1000 RC0805JR-071KL