Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
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.vein
Merge requests
!21
Implements the annotations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implements the annotations
refactoring_2016
into
master
Overview
0
Commits
4
Pipelines
3
Changes
5
Merged
Amir MOHAMMADI
requested to merge
refactoring_2016
into
master
8 years ago
Overview
0
Commits
4
Pipelines
3
Changes
5
Expand
0
0
Merge request reports
Compare
master
version 2
8b3e9d1f
8 years ago
version 1
fd317b06
8 years ago
master (base)
and
latest version
latest version
6ad2f13e
4 commits,
8 years ago
version 2
8b3e9d1f
2 commits,
8 years ago
version 1
fd317b06
1 commit,
8 years ago
5 files
+
61
−
67
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
bob/bio/vein/database/utfvp.py
+
9
−
8
Options
@@ -19,7 +19,7 @@ class File(BioFile):
@@ -19,7 +19,7 @@ class File(BioFile):
def
__init__
(
self
,
f
):
def
__init__
(
self
,
f
):
super
(
File
,
self
).
__init__
(
client_id
=
f
.
client_id
,
path
=
f
.
path
,
super
(
File
,
self
).
__init__
(
client_id
=
f
.
client_id
,
path
=
f
.
path
,
file_id
=
f
.
id
)
file_id
=
f
.
id
)
self
.
__f
=
f
self
.
__f
=
f
@@ -32,18 +32,19 @@ class Database(BioDatabase):
@@ -32,18 +32,19 @@ class Database(BioDatabase):
super
(
Database
,
self
).
__init__
(
name
=
'
utfvp
'
,
**
kwargs
)
super
(
Database
,
self
).
__init__
(
name
=
'
utfvp
'
,
**
kwargs
)
from
bob.db.utfvp.query
import
Database
as
LowLevelDatabase
from
bob.db.utfvp.query
import
Database
as
LowLevelDatabase
self
.
__db
=
LowLevelDatabase
()
self
.
_db
=
LowLevelDatabase
()
def
model_ids_with_protocol
(
self
,
groups
=
None
,
protocol
=
None
,
**
kwargs
):
def
model_ids_with_protocol
(
self
,
groups
=
None
,
protocol
=
None
,
**
kwargs
):
protocol
=
protocol
if
protocol
is
not
None
else
self
.
protocol
protocol
=
protocol
if
protocol
is
not
None
else
self
.
protocol
return
self
.
__db
.
model_ids
(
groups
=
groups
,
protocol
=
protocol
)
return
self
.
_db
.
model_ids
(
groups
=
groups
,
protocol
=
protocol
)
def
objects
(
self
,
groups
=
None
,
protocol
=
None
,
purposes
=
None
,
def
objects
(
self
,
groups
=
None
,
protocol
=
None
,
purposes
=
None
,
model_ids
=
None
,
**
kwargs
):
model_ids
=
None
,
**
kwargs
):
retval
=
self
.
_
_
db
.
objects
(
groups
=
groups
,
protocol
=
protocol
,
retval
=
self
.
_db
.
objects
(
groups
=
groups
,
protocol
=
protocol
,
purposes
=
purposes
,
model_ids
=
model_ids
,
**
kwargs
)
purposes
=
purposes
,
model_ids
=
model_ids
,
**
kwargs
)
return
[
File
(
f
)
for
f
in
retval
]
return
[
File
(
f
)
for
f
in
retval
]
def
annotations
(
self
,
file
):
return
None
Loading