view python/tests/storage.txt @ 241:ee1caff48b03

added function to sort to list of paired data X,Y
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 11 Jul 2012 16:47:49 -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
[]