def METHOD_NAME(inFile):
  options = globals.options
  lines = inFile.readlines()
  if not lines:
    return []
  # catch a specific error notation from mp_geo:
  while lines[0].strip().startswith("Atom pair"):
    del lines[0]
  residues = []
  try:
    i = 0
    line = ""
    for line in lines:
      i += 1
      if len(line.strip()) == 0 or line[0] == "#":  # blank or comment line
        continue
      fields = line.split(":")
      ids = fields[: options.pointidfields]
      baseCode = fields[options.pointidfields - 1]
      angleStrings = fields[options.pointidfields :]
      if (
          ids[options.altidfield-1].strip() != ""
          and ids[options.altidfield-1] != options.altid
      ):    # -1 converts 1-based to 0-based counting
        continue  # lines for the wrong alternative conformation are ignored
      base = findBase(baseCode)
      if not base:  # ignore DNA bases
        continue
      angles = np.array([stringToFloat(s) for s in angleStrings])
      for i in range(len(angles)):
        if angles[i] < 0:
          angles[i] += 360.0
      residue = Residue(ids, base, angles)
      residues.append(residue)
  except IndexError:
    print("Suitename found malformed input on line {}, reading no further:".format(i),
        file=sys.stderr)
    print("    ", line, file=sys.stderr)
  return residues