view python/tests/storage.txt @ 239:93c26e45efd8

modified functions to read velocities from sqlite database
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 11 Jul 2012 16:30:23 -0400
parents 5e2983b05d4e
children dc1faa7287bd
line wrap: on
line source

>>> from storage import *

>>> loadPrototypeMatchIndexesFromSqlite("nonexistent")
DB Error: no such table: prototypes
[]
>>> loadTrajectoriesFromSqlite("nonexistent", 'feature')
DB Error: no such table: positions
[]