Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.stream
Commits
040ab89b
Commit
040ab89b
authored
Sep 19, 2020
by
David GEISSBUHLER
Browse files
import bug fix
parent
4a654261
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/io/stream/__init__.py
View file @
040ab89b
...
...
@@ -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
Stream
AsType
,
\
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
,
\
...
...
bob/io/stream/stream.py
View file @
040ab89b
...
...
@@ -278,7 +278,7 @@ class StreamFilter(Stream):
### astype ###
# TODO make that work more as numpy...
@
stream_filter
(
"astype"
)
class
AsType
(
StreamFilter
):
class
Stream
AsType
(
StreamFilter
):
def
__init__
(
self
,
name
,
parent
,
dtype
=
None
):
super
().
__init__
(
name
=
name
,
parent
=
parent
)
if
dtype
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment