Commit 040ab89b authored by David GEISSBUHLER's avatar David GEISSBUHLER
Browse files

import bug fix

parent 4a654261
......@@ -2,15 +2,15 @@ from bob.io.stream.stream_file import StreamFile
from bob.io.stream.stream import Stream, stream_filter, StreamFilter
# import filters defined in stream.py
from bob.io.stream.stream import AsType, \
from bob.io.stream.stream import StreamAsType, \
StreamSelect, \
StreamView
StreamView, \
StreamAdjust
# import filters defined in stream_filters
from bob.io.stream.stream_filters import StreamColorMap, \
StreamNormalize, \
StreamClean, \
StreamStacked, \
StreamAdjust, \
StreamWarp, \
StreamStereo, \
StreamReproject, \
......
......@@ -278,7 +278,7 @@ class StreamFilter(Stream):
### astype ###
# TODO make that work more as numpy...
@stream_filter("astype")
class AsType(StreamFilter):
class StreamAsType(StreamFilter):
def __init__(self, name, parent, dtype=None):
super().__init__(name=name, parent=parent)
if dtype is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment