Cannot create sciline.Scope
subclass instance from Scipp object returned by scipp.Variable.value
#52
Labels
bug
Something isn't working
raises
TypeError: scipp._scipp.core.Variable.__init__() must be called when overriding __init__
. Same problem with, e.g.,sc.DataArray
.A[Param](var.value.copy())
fixes this.int
orfloat
is fine.This must be related to how we return references to scipp-objects from the
value
property in Scipp. I have no idea how this can interfere with what we are doing insciline.Scope
.The text was updated successfully, but these errors were encountered: