Commit f004d18c authored by Laurent EL SHAFEY's avatar Laurent EL SHAFEY
Browse files

Polishing (minor docstring/documentation fixes)

parent e4f7eafd
......@@ -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
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
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
>>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required
......
......@@ -6,8 +6,6 @@
parts = scripts
develop = .
eggs = xbob.db.mnist
newest = false
[scripts]
recipe = xbob.buildout:scripts
dependent-scripts = true
......@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
setup(
name='xbob.db.mnist',
version='1.0.0g',
version='1.0.0h',
description='MNIST Database Access API for Bob',
url='http://github.com/bioidiap/xbob.db.mnist',
license='GPLv3',
......
......@@ -37,7 +37,7 @@ class Interface(BaseInterface):
return ()
def type(self):
return 'python_integrated'
return 'binary'
def add_commands(self, parser):
......
......@@ -19,7 +19,6 @@
"""A few checks at the MNIST database.
"""
import os, sys
import unittest
from . import Database
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment