Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deepdraw
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
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
medai
software
deepdraw
Commits
4877170d
Commit
4877170d
authored
4 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix using of bob.extension.rc
parent
ccdcd628
No related branches found
No related tags found
1 merge request
!12
Streamlining
Pipeline
#38850
passed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/ip/binseg/data/drive/__init__.py
+0
-1
0 additions, 1 deletion
bob/ip/binseg/data/drive/__init__.py
bob/ip/binseg/data/utils.py
+2
-3
2 additions, 3 deletions
bob/ip/binseg/data/utils.py
with
2 additions
and
4 deletions
bob/ip/binseg/data/drive/__init__.py
+
0
−
1
View file @
4877170d
...
...
@@ -9,7 +9,6 @@ import bob.extension
from
..jsondataset
import
JSONDataset
from
..loader
import
load_pil_rgb
,
load_pil_1
_protocols
=
[
pkg_resources
.
resource_filename
(
__name__
,
"
default.json
"
),
pkg_resources
.
resource_filename
(
__name__
,
"
second-annotation.json
"
),
...
...
This diff is collapsed.
Click to expand it.
bob/ip/binseg/data/utils.py
+
2
−
3
View file @
4877170d
...
...
@@ -19,10 +19,9 @@ def rc_variable_set(name):
def
wrapped_function
(
test
):
@functools.wraps
(
test
)
def
wrapper
(
*
args
,
**
kwargs
):
if
bob
.
extension
.
rc
[
name
]:
return
test
(
*
args
,
**
kwargs
)
else
:
if
name
not
in
bob
.
extension
.
rc
:
raise
nose
.
plugins
.
skip
.
SkipTest
(
"
Bob
'
s RC variable
'
%s
'
is not set
"
%
name
)
return
test
(
*
args
,
**
kwargs
)
return
wrapper
...
...
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