-
Notifications
You must be signed in to change notification settings - Fork 18
Description
When passing worker_id=True to the distributed classes, it seems as if the prompt for asking the user for a name or ID string is skipped.
The widget for the prompt is created, but it is never displayed. For some reason, the displaying of the annotation interface takes over. I tried fixing it in a hacky way by forcing the worker_id prompt to appear before other things are initialized, but that broke some functionality, such as calling the add_features before the widget is displayed.
More precisely, I was trying to fix it by displaying the worker_id prompt before super().__init__(**kwargs) is called in the _DistributedMixin class. Calling it seems to be the problem. Possibly it would make sense to pass widgets to that initialization function that take precedence over the annotation interface.
@janfreyberg Do you have a suggestion for a clean way to fix this?
(btw. I absolutely love this package, thank you so much for open sourcing it)