Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double notification #33

Open
jacopoabramo opened this issue Nov 13, 2024 · 0 comments
Open

Double notification #33

jacopoabramo opened this issue Nov 13, 2024 · 0 comments

Comments

@jacopoabramo
Copy link
Contributor

While testing #32, I noticed that callbacks are invoked twice.

I tweaked micromanager_example.py and ran it via command line as:

python src\engine\exengine\micromanager_example.py

and got the following output:

Notification received: NotificationCategory.Data - DataCoordinates: {'time': 0}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 0}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 1}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 1}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 2}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 2}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 3}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 3}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 4}
Notification received: NotificationCategory.Data - DataCoordinates: {'time': 4}

Maybe the way I'm running the example is wrong though, I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant