Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!124Fixed the exception that is raised when score file is not found
Pipeline #
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment