#NEWLINE# def read_vlarray( filename , nchildren , niter ) : #NEWLINE# #INDENT# for i in range ( niter ) : #NEWLINE# #INDENT# fileh = tables . open_file ( filename , mode = 'r' ) #NEWLINE# for child in range ( nchildren ) : #NEWLINE# #INDENT# node = fileh . get_node ( fileh . root , ( 'array' + str ( fileh ) ) ) #NEWLINE# data = node [ : ] #NEWLINE# assert ( data is not None ) #NEWLINE# #UNINDENT# show_mem ( ( 'After reading data. Iter %s' % i ) ) #NEWLINE# fileh . close ( ) #NEWLINE# show_mem ( 'After close' )