isa-api icon indicating copy to clipboard operation
isa-api copied to clipboard

implement a guard in material.py

Open proccaserra opened this issue 4 months ago • 0 comments

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

proccaserra avatar Feb 23 '24 17:02 proccaserra