Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
3b09743c
Commit
3b09743c
authored
Mar 14, 2019
by
Samuel GAIST
Browse files
[prototypes] Cleanup using black
parent
c2f47ffd
Changes
3
Hide whitespace changes
Inline
Side-by-side
beat/core/prototypes/algorithm.py
View file @
3b09743c
class
Algorithm
:
def
process
(
self
,
inputs
,
data_loaders
,
outputs
):
# TODO: Implement this algorithm
...
...
beat/core/prototypes/plotter.py
View file @
3b09743c
class
Plotter
:
def
process
(
self
,
input
):
# TODO: Implement this plotter
#return image as a string
#
return image as a string
pass
beat/core/prototypes/view.py
View file @
3b09743c
class
View
:
def
setup
(
self
,
root_folder
,
outputs
,
parameters
,
force_start_index
=
None
,
force_end_index
=
None
,
):
"""Initializes the database"""
def
setup
(
self
,
root_folder
,
outputs
,
parameters
,
force_start_index
=
None
,
force_end_index
=
None
):
'''Initializes the database'''
return
True
return
True
def
done
(
self
):
"""Should return ``True``, when data is finished"""
return
True
def
do
ne
(
self
):
'''Should return ``True``, when data is finished'''
def
ne
xt
(
self
):
"""Loads the next data block on ``outputs``"""
return
True
def
next
(
self
):
'''Loads the next data block on ``outputs``'''
return
True
return
True
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