#NEWLINE# def list_datasets( self ) : #NEWLINE# #INDENT# if ( not self . _list_of_datasets ) : #NEWLINE# #INDENT# import h5py #NEWLINE# h5pyfile = h5py . File ( self . filename , mode = 'r' , driver = 'core' ) #NEWLINE# h5pyfile . visit ( self . _list_of_datasets . append ) #NEWLINE# h5pyfile . close ( ) #NEWLINE# #UNINDENT# return self . _list_of_datasets