Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
bob
bob.bio.base
Merge requests
!124
Fixed the exception that is raised when score file is not found
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed the exception that is raised when score file is not found
fix_exception_in_evaluate.py
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Manuel Günther
requested to merge
fix_exception_in_evaluate.py
into
master
7 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
89e4cb12
1 commit,
7 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bob/bio/base/script/evaluate.py
+
1
−
1
Options
@@ -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
))
Loading