Skip to content
Snippets Groups Projects
Commit f004d18c authored by Laurent EL SHAFEY's avatar Laurent EL SHAFEY
Browse files

Polishing (minor docstring/documentation fixes)

parent e4f7eafd
Branches
Tags
No related merge requests found
...@@ -95,12 +95,14 @@ In this case, this should return two NumPy arrays: ...@@ -95,12 +95,14 @@ In this case, this should return two NumPy arrays:
If you don't have the data installed on your machine, you can also use the following If you don't have the data installed on your machine, you can also use the following
set of command that will: set of commands that will:
1. first look for the database in the xbob/db/mnist/ subdirectory and use it if is available 1. first look for the database in the xbob/db/mnist/ subdirectory and use it if is available
2. or automatically download it from Yann Lecun's website into a temporary folder, that will 2. or automatically download it from Yann Lecun's website into a temporary folder, that will
be erased when the destructor of the xbob.db.mnist database is called:: be erased when the destructor of the xbob.db.mnist database is called.
::
>>> import xbob.db.mnist >>> import xbob.db.mnist
>>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required >>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
parts = scripts parts = scripts
develop = . develop = .
eggs = xbob.db.mnist eggs = xbob.db.mnist
newest = false
[scripts] [scripts]
recipe = xbob.buildout:scripts recipe = xbob.buildout:scripts
dependent-scripts = true
...@@ -9,7 +9,7 @@ from setuptools import setup, find_packages ...@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
setup( setup(
name='xbob.db.mnist', name='xbob.db.mnist',
version='1.0.0g', version='1.0.0h',
description='MNIST Database Access API for Bob', description='MNIST Database Access API for Bob',
url='http://github.com/bioidiap/xbob.db.mnist', url='http://github.com/bioidiap/xbob.db.mnist',
license='GPLv3', license='GPLv3',
......
...@@ -37,7 +37,7 @@ class Interface(BaseInterface): ...@@ -37,7 +37,7 @@ class Interface(BaseInterface):
return () return ()
def type(self): def type(self):
return 'python_integrated' return 'binary'
def add_commands(self, parser): def add_commands(self, parser):
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
"""A few checks at the MNIST database. """A few checks at the MNIST database.
""" """
import os, sys
import unittest import unittest
from . import Database from . import Database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment