docs: def parse_method_results(self, results_file, met):
          """Parse the output of a AMYLPRED2 result file."""
  
          result = str(open(results_file).read())
          ind_s = str.find(result, 'HITS')
          ind_e = str.find(result, '**NOTE')
          tmp = result[ind_s + 10:ind_e].strip(" ")
          hits_resid = []
          method = None
          if ":" in tmp:
              method = tmp.split(":")[0]
              hits = tmp.split(":")[1]
              if "-" in hits:
                  for ele in hits.split(","):
                      ele = ele.replace('\\r\\n\\r\\n', '')
                      res_s = ele.split("-")[0]
                      res_e = ele.split("-")[1]
                      for i in range(int(res_s), int(res_e) + 1):
                          hits_resid.append(i)
          if method:
              return method, hits_resid
          else:
              return met, hits_resid