aboutsummaryrefslogtreecommitdiff
path: root/demo/doit
diff options
context:
space:
mode:
Diffstat (limited to 'demo/doit')
-rw-r--r--demo/doit/dodo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py
index fe9b9ae..c2b8194 100644
--- a/demo/doit/dodo.py
+++ b/demo/doit/dodo.py
@@ -6,6 +6,7 @@ import ee.kicad.doit
from ee.bom.doit import *
# noinspection PyUnresolvedReferences
from ee.digikey.doit import *
+from ee.ds import DataSetManager
from ee.kicad.doit import *
prj = "demo"
@@ -21,7 +22,7 @@ dsm = DataSetManager("ee")
kicad_footprint = "kicad-footprint"
dsm.add_ds("csv", kicad_footprint, "kicad-footprint-mapping", path="ee/kicad-footprint.csv")
-ee.kicad.doit.change_data_sets_for_task(task_kicad_create_component_data_set, lambda ds: ds + [kicad_footprint])
+ee.kicad.doit.doit_config.change_data_sets_for_task(task_kicad_create_component_data_set, lambda ds: ds + [kicad_footprint])
ee.kicad.doit.init(
data_set_manager=dsm,
@@ -38,7 +39,7 @@ ee.digikey.doit.doit_config.configure(data_set_manager=dsm)
def task_orders():
- data_sets = [ee.bom.doit.output_data_set_for_task(task_bom),
+ data_sets = [ee.bom.doit.doit_config.out_data_set_for(task_bom),
ee.digikey.doit.doit_config.out_data_set_for(task_digikey_resolve_schematic_components)]
yield create_task_order_csv(