# HG changeset patch # User Nicolas Saunier # Date 1429108502 -7200 # Node ID 458890c0437cfda6bfe3538e92921e534ab6743f # Parent 6680a69d5bf312d69f8118562ca1bfdf4c459879 cleaned functions to lead bounding boxes (for display) diff -r 6680a69d5bf3 -r 458890c0437c python/storage.py --- a/python/storage.py Tue Apr 14 16:30:27 2015 +0200 +++ b/python/storage.py Wed Apr 15 16:35:02 2015 +0200 @@ -554,6 +554,7 @@ connection.close() def loadBoundingBoxTableForDisplay(filename): + '''Loads bounding boxes from bounding_boxes table for display over trajectories''' connection = sqlite3.connect(filename) cursor = connection.cursor() boundingBoxes = {} # list of bounding boxes for each instant @@ -570,20 +571,6 @@ connection.close() return boundingBoxes -def loadBoundingBoxTable(filename): - connection = sqlite3.connect(filename) - cursor = connection.cursor() - boundingBoxes = [] - - try: - pass - except sqlite3.OperationalError as error: - printDBError(error) - return boundingBoxes - connection.close() - return boundingBoxes - - ######################### # txt files #########################