diff options
Diffstat (limited to 'demo')
-rw-r--r-- | demo/doit/dodo.py | 12 | ||||
-rw-r--r-- | demo/doit/ee/digikey-100.csv | 4 | ||||
-rw-r--r-- | demo/doit/ee/digikey.csv | 4 | ||||
-rw-r--r-- | demo/doit/ee/order-100.csv | 4 |
4 files changed, 17 insertions, 7 deletions
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py index c5372fc..145c0a7 100644 --- a/demo/doit/dodo.py +++ b/demo/doit/dodo.py @@ -33,7 +33,13 @@ ee.bom.doit.init( def task_orders(): data_sets = [ee.bom.doit.output_data_set_for_task(task_bom)] + yield create_task_order_csv( + output_file="ee/order.csv", + data_sets=data_sets) + for size in [1, 100]: - yield create_task_order_csv("ee/order-{}.csv".format(size) if size != 1 else "ee/order.csv", - data_sets, - count=size) + yield create_task_order_csv( + output_file="ee/digikey-{}.csv".format(size) if size != 1 else "ee/digikey.csv", + style="digikey", + data_sets=data_sets, + count=size) diff --git a/demo/doit/ee/digikey-100.csv b/demo/doit/ee/digikey-100.csv new file mode 100644 index 0000000..bad6173 --- /dev/null +++ b/demo/doit/ee/digikey-100.csv @@ -0,0 +1,4 @@ +Digi-Key Part Number,Customer Reference,Quantity,MPN +,BT1,100,BC2AAPC +,"R2,R1",200,RMCF1206JT10K0 +,C1,100,UCA2G100MPD1TD diff --git a/demo/doit/ee/digikey.csv b/demo/doit/ee/digikey.csv new file mode 100644 index 0000000..a813638 --- /dev/null +++ b/demo/doit/ee/digikey.csv @@ -0,0 +1,4 @@ +Digi-Key Part Number,Customer Reference,Quantity,MPN +,BT1,1,BC2AAPC +,"R2,R1",2,RMCF1206JT10K0 +,C1,1,UCA2G100MPD1TD diff --git a/demo/doit/ee/order-100.csv b/demo/doit/ee/order-100.csv deleted file mode 100644 index 4f5b439..0000000 --- a/demo/doit/ee/order-100.csv +++ /dev/null @@ -1,4 +0,0 @@ -MPN,Count,References -BC2AAPC,100,BT1 -RMCF1206JT10K0,200,"R2,R1" -UCA2G100MPD1TD,100,C1 |