Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.db.iris
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
Show more breadcrumbs
bob
bob.db.iris
Commits
28295020
There was a problem fetching the pipeline summary.
Commit
28295020
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Plain Diff
Merge branch 'new_driver' into 'master'
New driver See merge request
!2
parents
fa7689f4
adb1b552
No related branches found
No related tags found
1 merge request
!2
New driver
Pipeline
#
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MANIFEST.in
+1
-1
1 addition, 1 deletion
MANIFEST.in
bob/db/iris/__init__.py
+2
-1
2 additions, 1 deletion
bob/db/iris/__init__.py
bob/db/iris/driver.py
+1
-4
1 addition, 4 deletions
bob/db/iris/driver.py
with
4 additions
and
6 deletions
MANIFEST.in
+
1
−
1
View file @
28295020
include LICENSE README.rst bootstrap-buildout.py buildout.cfg develop.cfg version.txt requirements.txt
recursive-include doc
doc/plot doc/img
conf.py *.rst *.ico *.png *.py
recursive-include doc conf.py *.rst *.ico *.png *.py
include bob/db/iris/iris.data bob/db/iris/iris.names
This diff is collapsed.
Click to expand it.
bob/db/iris/__init__.py
+
2
−
1
View file @
28295020
...
...
@@ -67,8 +67,9 @@ def data():
"""
from
.driver
import
Interface
import
csv
import
pkg_resources
data
=
Interface
().
files
()[
0
]
data
=
pkg_resources
.
resource_filename
(
__name__
,
'
iris.data
'
)
retval
=
{}
...
...
This diff is collapsed.
Click to expand it.
bob/db/iris/driver.py
+
1
−
4
View file @
28295020
...
...
@@ -21,10 +21,7 @@ class Interface(AbstractInterface):
The values should be take w.r.t. where the python file that declares the
database is sitting at.
'''
from
pkg_resources
import
resource_filename
raw_files
=
(
'
iris.data
'
,
'
iris.names
'
)
return
[
resource_filename
(
__name__
,
k
)
for
k
in
raw_files
]
return
[]
def
version
(
self
):
'''
Returns the current version number from Bob
'
s build
'''
...
...
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