From e8dc4637ede8a72035c8a7a0d3465172695c7d07 Mon Sep 17 00:00:00 2001 From: dmt <> Date: Mon, 28 Oct 2019 21:17:12 +0100 Subject: [PATCH] Call deconstruction request with reference to data source. --- cml/controller/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cml/controller/api.py b/cml/controller/api.py index ac9ced7..546d831 100644 --- a/cml/controller/api.py +++ b/cml/controller/api.py @@ -143,7 +143,8 @@ def reconstruction(reconstruction_type, *args, **kwargs): def search_knowledge(constructor, feature_selector, reconstructor, data_source, stdout=False): deconstruction_settings = specific_settings_factory("deconstruction") - deconstruction_req = DeconstructionRequest(deconstruction_settings, + deconstruction_req = DeconstructionRequest(data_source, + deconstruction_settings, constructor.construction_type) deconstruction_usecase = DeconstructionUsecase() deconstructor = deconstruction_usecase.execute(deconstruction_req) -- GitLab