Commit e2b18426 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'fixmoving' into 'master'

Fix bob.measure->bob.bio.base related issues

Closes #25

See merge request !19
parents bbdf4f38 8786e0d7
Pipeline #19958 passed with stages
in 56 minutes and 22 seconds
import bob.measure
import os import os
import shutil import shutil
import tempfile import tempfile
...@@ -42,7 +40,7 @@ def _verify(parameters, test_dir, sub_dir, ref_modifier="", score_modifier=('sco ...@@ -42,7 +40,7 @@ def _verify(parameters, test_dir, sub_dir, ref_modifier="", score_modifier=('sco
d = [] d = []
# read reference and new data # read reference and new data
for score_file in (score_files[i], reference_files[i]): for score_file in (score_files[i], reference_files[i]):
f = bob.measure.load.open_file(score_file) f = bob.bio.base.score.load.open_file(score_file)
d_ = [] d_ = []
for line in f: for line in f:
if isinstance(line, bytes): line = line.decode('utf-8') 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