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
bob
bob.bio.base
Commits
89e4cb12
Commit
89e4cb12
authored
Jan 02, 2018
by
Manuel Günther
Browse files
Fixed the exception that is raised when score file is not found
parent
a730fbfe
Pipeline
#14965
passed with stages
in 15 minutes and 49 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
bob/bio/base/script/evaluate.py
View file @
89e4cb12
...
...
@@ -77,7 +77,7 @@ def command_line_arguments(command_line_parameters):
for
f
in
args
.
dev_files
+
(
args
.
eval_files
or
[]):
real_file
=
os
.
path
.
join
(
args
.
directory
,
f
)
if
not
os
.
path
.
exists
(
real_file
):
raise
ValueError
(
"The provided score file '%s' does not exist"
,
real_file
)
raise
ValueError
(
"The provided score file '%s' does not exist"
%
real_file
)
if
args
.
eval_files
is
not
None
and
len
(
args
.
dev_files
)
!=
len
(
args
.
eval_files
):
logger
.
error
(
"The number of --dev-files (%d) and --eval-files (%d) are not identical"
,
len
(
args
.
dev_files
),
len
(
args
.
eval_files
))
...
...
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