view python/tests/storage.txt @ 556:dc58ad777a72

modified prediction for multiprocessing, not sure how beneficial it is (single thread with instance method seems much faster
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 14 Jul 2014 01:56:51 -0400
parents bce1fe45d1b2
children 36605d843be5
line wrap: on
line source

>>> from storage import *

>>> f = openCheck('non_existant_file.txt')
File non_existant_file.txt could not be opened.

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