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

implement a guard in material.py #543

Open
proccaserra opened this issue Feb 23, 2024 · 0 comments
Open

implement a guard in material.py #543

proccaserra opened this issue Feb 23, 2024 · 0 comments
Assignees

Comments

@proccaserra
Copy link
Member

I'm curious about what we happen if we were to provide the characteristic_data["value"] has a not acceptable data type (list, tuples, set, object, ....).
I think it would append an empty characteristic to the material. Thus, a guard could force a return statement in case of a not acceptable type.

line 92 in material.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant