Functions | Variables
web_interface::db Namespace Reference

Functions

def filter_query
def get_cached_collection
def get_cluster_collection
def get_image_collection
def image_file_loc
def list_runs
def next_id
def prev_id
def run_info
def semantic_query

Variables

tuple bridge = cv_bridge.CvBridge()
dictionary cluster_collections = {}
dictionary image_collections = {}
tuple log = logging.getLogger('semantic_model_web.db')
dictionary POSITIONS

Function Documentation

Definition at line 32 of file db.py.

def web_interface.db.get_cached_collection (   colls,
  run,
  c,
  t 
)

Definition at line 47 of file db.py.

Definition at line 37 of file db.py.

Definition at line 42 of file db.py.

def web_interface.db.image_file_loc (   i,
  run 
)
@param i: Id of cluster
@param run: Run id

Ensure that the file for the image of the cluster is available (download
if necessary), and return its site-relative URL

Definition at line 68 of file db.py.

Definition at line 53 of file db.py.

def web_interface.db.next_id (   coll,
  id 
)

Definition at line 97 of file db.py.

def web_interface.db.prev_id (   coll,
  id 
)

Definition at line 103 of file db.py.

Definition at line 60 of file db.py.

Definition at line 109 of file db.py.


Variable Documentation

tuple web_interface::db::bridge = cv_bridge.CvBridge()

Definition at line 22 of file db.py.

Definition at line 20 of file db.py.

Definition at line 21 of file db.py.

tuple web_interface::db::log = logging.getLogger('semantic_model_web.db')

Definition at line 18 of file db.py.

Initial value:
00001 {
00002   'green_room': (20, 20, 8),
00003   'pool_room': (17, 35, 7),
00004   'white_lab': (34, 43, 10),
00005   'cafe': (30, 15, 7),
00006   'research_hallway': (5, 22, 7)
00007 }

Definition at line 24 of file db.py.



semantic_model_web_interface
Author(s): Bhaskara Marthi
autogenerated on Thu Dec 12 2013 12:39:31