Enforce event_id
being read as np.ndarray
and event_name
as list
in Hazard readers.
#950
Labels
event_id
being read as np.ndarray
and event_name
as list
in Hazard readers.
#950
Related to #910
In addition to checking that elements of
event_name
are strings when reading/writing, @chahank suggested to enforce the type for the container for bothevent_name
andevent_id
(As the former expects alist
and the latter anndarray
.As it is closely related to the checks added to address #910, we should also cover this issue.
See related PR for more details.
The text was updated successfully, but these errors were encountered: