code: def get_peptide_quant(quantdata, quanttype):
      
      parsefnx = {'precur': max}
      quantfloats = []
      for q in quantdata:
          try:
              quantfloats.append(float(q))
          except(TypeError, ValueError):
              pass
      if not quantfloats:
          return 'NA'
      return str(parsefnx[quanttype](quantfloats))
docs: Parses lists of quantdata and returns maxvalue from them. Strips NA