Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.base
Commits
305b846f
There was a problem fetching the pipeline summary.
Commit
305b846f
authored
7 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Importing bob.measure after importing evaluate.py in test
parent
36438985
No related branches found
Branches containing commit
Tags
v5.0.0
Tags containing commit
1 merge request
!96
Resolve "matplotlib Invalid DISPLAY variable"
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/base/test/test_scripts.py
+6
-5
6 additions, 5 deletions
bob/bio/base/test/test_scripts.py
with
6 additions
and
5 deletions
bob/bio/base/test/test_scripts.py
+
6
−
5
View file @
305b846f
import
bob.measure
import
os
import
shutil
import
tempfile
...
...
@@ -23,6 +20,7 @@ data_dir = pkg_resources.resource_filename('bob.bio.base', 'test/data')
def
_verify
(
parameters
,
test_dir
,
sub_dir
,
ref_modifier
=
""
,
score_modifier
=
(
'
scores
'
,
''
),
counts
=
3
,
check_zt
=
True
):
from
bob.bio.base.script.verify
import
main
import
bob.measure
try
:
main
(
parameters
)
...
...
@@ -248,8 +246,9 @@ def test_verify_filelist():
'
--preferred-package
'
,
'
bob.bio.base
'
]
from
bob.bio.base.script.verify
import
main
import
bob.measure
try
:
from
bob.bio.base.script.verify
import
main
main
(
parameters
)
# assert that the score file exists
...
...
@@ -292,8 +291,9 @@ def test_verify_missing():
'
--imports
'
,
'
bob.bio.base.test.dummy
'
]
from
bob.bio.base.script.verify
import
main
import
bob.measure
try
:
from
bob.bio.base.script.verify
import
main
main
(
parameters
)
# assert that the score file exists
...
...
@@ -448,6 +448,7 @@ def test_fusion():
# execute the script
from
bob.bio.base.script.fuse_scores
import
main
import
bob.measure
try
:
main
(
parameters
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment