def METHOD_NAME(doc):
    """Find all precursor material formulas and convert them into Composition."""
    result = []
    for x in doc["precursors"]:
        try:
            result.append(get_material_formula(x))
        except (CompositionError, ValueError):
            pass
    return result