Commit cb12cf37 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

More input tests

parent 1ea1fb23
Pipeline #17793 passed with stage
in 19 minutes and 24 seconds
......@@ -303,9 +303,14 @@ def evaluate(scores, output, points, no_plot, log):
assert points > 0, "Numbers of points must be positive"
dev_scores = load.split(scores[0])
if dev_scores[0] is None:
logger.error("While loading dev-score file")
return -1
if len(scores) > 1:
test_scores = load.split(scores[1])
if test_scores[1] is None:
logger.error("While loading test-score file")
else:
test_scores = None
test_fta = None
......
Markdown is supported
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