def verbose_loader(filename):
 screed_iter = clean_input_reads(screed.open(filename))
 for (num, record) in enumerate(screed_iter):
  if ((num % 100000) == 0):
   log_info(u'... filtering {num}', num=num)
  (yield record)

def verbose_loader ( filename ) : screed_iter = clean_input_reads ( screed . open ( filename ) ) for ( num , record ) in enumerate ( screed_iter ) : if ( ( num % 100000 ) == 0 ) : log_info ( u'... filtering {num}' , num = num ) ( yield record )
screed iterator that additionally prints progress info to stderr .