code: def _refresh_stats(self):
          
  
          # regex identifies all possible stats files.
          #regex = self.outfolder +  "*_stats.tsv"       
          #stats_files = glob.glob(regex)
          #stats_files.insert(self.pipeline_stats_file) # last one is the current pipeline
          #for stats_file in stats_files:
  
          stats_file = self.pipeline_stats_file
          if os.path.isfile(self.pipeline_stats_file):
              with open(stats_file, 'r') as stat_file:
                  for line in stat_file:
                      try:
                          # Someone may have put something that's not 3 columns in the stats file
                          # if so, shame on him, but we can just ignore it.
                          key, value, annotation  = line.split('\t')
                      except ValueError:
                          print("WARNING: Each row in a stats file is expected to have 3 columns")
  
                      if annotation.rstrip() == self.name or annotation.rstrip() == "shared":
                          self.stats_dict[key] = value.strip()
docs: Loads up the stats sheet created for this pipeline run and reads
          those stats into memory