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

Raise exception on incompatible component data #33

Open
jeanconn opened this issue Aug 14, 2015 · 0 comments
Open

Raise exception on incompatible component data #33

jeanconn opened this issue Aug 14, 2015 · 0 comments

Comments

@jeanconn
Copy link
Contributor

This came up in the context of the PSMC checker, as Dick updated the tool to feed in the detector housing heater state with:

model.comp['dh_heater'].set_data(dh_heater,dh_heater_times)

but dh_heater was a numpy array with integer type not a boolean array. It would be great if the model components could verify data type and raise an exception as needed.

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

1 participant