isa-api
isa-api copied to clipboard
implement a guard in material.py
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