Commit 89e4cb12 authored by Manuel Günther's avatar 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
......@@ -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(, 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))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment