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

Enforce event_id being read as np.ndarray and event_name as list in Hazard readers. #950

Open
spjuhel opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@spjuhel
Copy link
Collaborator

spjuhel commented Sep 26, 2024

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 both event_name and event_id (As the former expects a list and the latter an ndarray.

As it is closely related to the checks added to address #910, we should also cover this issue.

See related PR for more details.

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