Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.core
Commits
3b09743c
Commit
3b09743c
authored
6 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[prototypes] Cleanup using black
parent
c2f47ffd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!62
Code cleanup
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
beat/core/prototypes/algorithm.py
+0
-1
0 additions, 1 deletion
beat/core/prototypes/algorithm.py
beat/core/prototypes/plotter.py
+1
-2
1 addition, 2 deletions
beat/core/prototypes/plotter.py
beat/core/prototypes/view.py
+16
-12
16 additions, 12 deletions
beat/core/prototypes/view.py
with
17 additions
and
15 deletions
beat/core/prototypes/algorithm.py
+
0
−
1
View file @
3b09743c
class
Algorithm
:
def
process
(
self
,
inputs
,
data_loaders
,
outputs
):
# TODO: Implement this algorithm
...
...
This diff is collapsed.
Click to expand it.
beat/core/prototypes/plotter.py
+
1
−
2
View file @
3b09743c
class
Plotter
:
def
process
(
self
,
input
):
# TODO: Implement this plotter
#return image as a string
#
return image as a string
pass
This diff is collapsed.
Click to expand it.
beat/core/prototypes/view.py
+
16
−
12
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment