view python/tests/storage.txt @ 267:32e88b513f5c

added code to compute probability of collision
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 27 Jul 2012 20:32:14 -0400
parents dc1faa7287bd
children bce1fe45d1b2
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
DB Error: no such table: velocities
[]