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

Blackboard data requests error handling #50

Open
hagenw opened this issue Dec 15, 2016 · 0 comments
Open

Blackboard data requests error handling #50

hagenw opened this issue Dec 15, 2016 · 0 comments
Assignees

Comments

@hagenw
Copy link
Member

hagenw commented Dec 15, 2016

If you request data from the blackboard that is not available you are not raising an error at the moment:

>> bbs.run()
>> bbs.blackboard.getData('foo')

ans =

     []

It could be that this will not result in any error at all, but that at the end of your calculation you simply get an NaN. As this can be very hard for a user to debug I would suggest to add an error message if data is requested that is not available.

@ivo--t ivo--t self-assigned this Dec 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants