view python/tests/storage.txt @ 304:20f9cd972dde

added capability to parse cfg file for display-trajectories.py
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 29 Mar 2013 16:56:23 -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
[]