def _get_dataset_metadata(ldda):
 lds = ldda.library_dataset
 folder_info = _get_folder_info(lds.folder)
 lds_info = lds.get_info()
 if (lds_info and (not lds_info.startswith('upload'))):
  lds_info = lds_info.replace('no info', '')
 else:
  lds_info = ''
 return ('%s %s %s %s %s' % ((lds.name or ''), lds_info, ldda.metadata.dbkey, ldda.message, folder_info))

def _get_dataset_metadata ( ldda ) : lds = ldda . library_dataset folder_info = _get_folder_info ( lds . folder ) lds_info = lds . get_info ( ) if ( lds_info and ( not lds_info . startswith ( 'upload' ) ) ) : lds_info = lds_info . replace ( 'no info' , '' ) else : lds_info = '' return ( '%s %s %s %s %s' % ( ( lds . name or '' ) , lds_info , ldda . metadata . dbkey , ldda . message , folder_info ) )
retrieve descriptions and information associated with a dataset .