Skip to content

Raise exception on incompatible component data #33

@jeanconn

Description

@jeanconn

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions