Skip to content
Snippets Groups Projects
Commit 9571ca79 authored by Stefano Borini's avatar Stefano Borini
Browse files

Fixes the exporting of the events

parent 36dc3239
No related branches found
No related tags found
1 merge request!86Improve event handling
......@@ -21,7 +21,7 @@ from .mco.i_mco_factory import IMCOFactory # noqa
from .mco.parameters.base_mco_parameter_factory import BaseMCOParameterFactory # noqa
from .mco.parameters.base_mco_parameter import BaseMCOParameter # noqa
from .mco.events import * # noqa
from .core_driver_events import * # noqa
from .notification_listeners.i_notification_listener_factory import INotificationListenerFactory # noqa
from .notification_listeners.base_notification_listener import BaseNotificationListener # noqa
......
......@@ -58,8 +58,8 @@ class CoreMCODriver(BaseCoreDriver):
output_names.extend(kpi.output_slot_names)
self._deliver_event(MCOStartEvent(
input_names=[p.name for p in self.workflow.mco.parameters],
output_names=output_names
input_names=tuple(p.name for p in self.workflow.mco.parameters),
output_names=tuple(output_names)
))
@on_trait_change("mco:finished")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment