#NEWLINE# def getCubes( self , listofidxs , resolution ) : #NEWLINE# #INDENT# if ( len ( listofidxs ) == 1 ) : #NEWLINE# #INDENT# ( yield ( listofidxs [ 0 ] , self . ascli . get ( ( ( ( ( self . db . annoproj . getTable ( resolution ) + ':img:' ) + str ( resolution ) ) + ':' ) + str ( zidx ) ) ) ) ) #NEWLINE# #UNINDENT# for zidx in listofidxs : #NEWLINE# #INDENT# ( askey , asmd , asvalue ) = self . ascli . get ( ( ( ( ( self . db . annoproj . getTable ( resolution ) + ':img:' ) + str ( resolution ) ) + ':' ) + str ( zidx ) ) ) #NEWLINE# ( yield ( zidx , asvalue ) )