Skip to content
GitLab
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
6e9432ad
Commit
6e9432ad
authored
Oct 11, 2018
by
Samuel GAIST
Committed by
André Anjos
Oct 18, 2018
Browse files
[experiment] Log algorithm errors if any on load
parent
20acc2cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/experiment.py
View file @
6e9432ad
...
...
@@ -380,8 +380,8 @@ class Experiment(object):
self
.
algorithms
[
algoname
]
=
thisalgo
if
thisalgo
.
errors
:
self
.
errors
.
append
(
"/analyzers/%s: algorithm `%s' is invalid"
%
\
(
analyzername
,
algoname
))
self
.
errors
.
append
(
"/analyzers/%s: algorithm `%s' is invalid
:
\n
%s
"
%
\
(
analyzername
,
algoname
,
"
\n
"
.
join
(
thisalgo
.
errors
)
))
continue
else
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment