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
9474e9f2
Commit
9474e9f2
authored
Nov 10, 2020
by
Samuel GAIST
Browse files
[plotter] Fix sphinx warnings
parent
b5ca2385
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/plotter.py
View file @
9474e9f2
...
...
@@ -150,13 +150,6 @@ class Plotter(object):
Attributes:
name (str): The algorithm name
description (str): The short description string, loaded from the JSON
file if one was set.
documentation (str): The full-length docstring for this object.
storage (object): A simple object that provides information about file
paths for this algorithm
...
...
@@ -166,12 +159,6 @@ class Plotter(object):
libraries (dict): A mapping object defining other libraries this plotter
needs to load so it can work properly.
uses (dict): A mapping object defining the required library import name
(keys) and the full-names (values).
parameters (dict): A dictionary containing all pre-defined parameters
that this algorithm accepts.
errors (list): A list containing errors found while loading this
algorithm.
...
...
@@ -317,7 +304,7 @@ class Plotter(object):
@
property
def
name
(
self
):
"""
Returns t
he name of this object
"""
T
he name of this object
"""
return
self
.
_name
or
"__unnamed_plotter__"
...
...
@@ -342,7 +329,9 @@ class Plotter(object):
return
self
.
data
.
get
(
"api_version"
,
1
)
def
uses_dict
(
self
):
"""Returns the usage dictionary for all dependent modules"""
"""A mapping object defining the required library import name (keys) and the
full-names (values).
"""
if
self
.
data
[
"language"
]
==
"unknown"
:
raise
RuntimeError
(
"plotter has no programming language set"
)
...
...
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