You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import omas
ods = omas.ODS()
ods["summary.global_quantities.r0.value"] = "potato"
print(ods)
This will not raise any errors. The schema says this should be a FLT_0D and I assumed that OMAS would raise an error, similarly to how it does when dimensions or path names are incorrect.
Simple reproducer with omas 0.94:
This will not raise any errors. The schema says this should be a
FLT_0D
and I assumed that OMAS would raise an error, similarly to how it does when dimensions or path names are incorrect.Schema:
Does OMAS not assert that the assigned data type matches the schema?
The text was updated successfully, but these errors were encountered: