lazyflow icon indicating copy to clipboard operation
lazyflow copied to clipboard

slot.value is different from slot[:].wait()

Open kemaleren opened this issue 12 years ago • 0 comments

Assuming we have some slot called slot:

d = {0 : "astring"}
slot.setValue(d)
slot[:].wait() # returns the full dictionary
slot.value  # returns the string "astring"

Slot.value() assumes that the value was wrapped in a numpy.ndarray. Either this should happen automatically in Slot.setValue(), or this assumption should be weakened.

kemaleren avatar Jan 30 '13 13:01 kemaleren