Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.gmm
Commits
e2b18426
Commit
e2b18426
authored
May 08, 2018
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
bob/bio/gmm/test/test_scripts.py
View file @
e2b18426
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
.
measu
re
.
load
.
open_file
(
score_file
)
f
=
bob
.
bio
.
base
.
sco
re
.
load
.
open_file
(
score_file
)
d_
=
[]
for
line
in
f
:
if
isinstance
(
line
,
bytes
):
line
=
line
.
decode
(
'utf-8'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment