Commit 8786e0d7 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

Fix bob.measure-> related issues

parent bbdf4f38
Pipeline #19946 passed with stage
in 70 minutes and 41 seconds
import bob.measure
import os
import shutil
import tempfile
......@@ -42,7 +40,7 @@ def _verify(parameters, test_dir, sub_dir, ref_modifier="", score_modifier=('sco
d = []
# read reference and new data
for score_file in (score_files[i], reference_files[i]):
f = bob.measure.load.open_file(score_file)
f =
d_ = []
for line in f:
if isinstance(line, bytes): line = line.decode('utf-8')
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