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
beat
beat.core
Commits
bdc0e748
Commit
bdc0e748
authored
Oct 11, 2018
by
Samuel GAIST
Committed by
André Anjos
Oct 17, 2018
Browse files
[experiment] Log algorithm errors if any on load
parent
f3d33cfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/experiment.py
View file @
bdc0e748
...
@@ -380,8 +380,8 @@ class Experiment(object):
...
@@ -380,8 +380,8 @@ class Experiment(object):
self
.
algorithms
[
algoname
]
=
thisalgo
self
.
algorithms
[
algoname
]
=
thisalgo
if
thisalgo
.
errors
:
if
thisalgo
.
errors
:
self
.
errors
.
append
(
"/analyzers/%s: algorithm `%s' is invalid"
%
\
self
.
errors
.
append
(
"/analyzers/%s: algorithm `%s' is invalid
:
\n
%s
"
%
\
(
analyzername
,
algoname
))
(
analyzername
,
algoname
,
"
\n
"
.
join
(
thisalgo
.
errors
)
))
continue
continue
else
:
else
:
...
...
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