Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

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

Open
kemaleren opened this issue Jan 30, 2013 · 0 comments
Open

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

kemaleren opened this issue Jan 30, 2013 · 0 comments
Milestone

Comments

@kemaleren
Copy link
Member

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.

stuarteberg added a commit that referenced this issue Oct 1, 2013
This fixes the particular issue observed in #76, which involved a "value slot" where the value is a dict.
This issue needs to be fixed more generally.  See also: ilastik/ilastik#704 and ilastik/ilastik#705
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant