Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lazyflow/slot.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from lazyflow import rtype
from lazyflow.roi import TinyVector
from lazyflow.request import Request
from lazyflow.stype import ArrayLike
from lazyflow.stype import ArrayLike, Opaque
from lazyflow.metaDict import MetaDict
from lazyflow.utility import slicingtools, OrderedSignal

Expand Down Expand Up @@ -1121,7 +1121,7 @@ def value(self):
if temp.shape == (1,):
return temp[0]
return temp
elif isinstance(temp, list):
elif isinstance(temp, list) and self.stype != Opaque:
return temp[0]
else:
warnings.warn(
Expand Down