hello community,
is the formula_anonymous
method still in use
search_results=mpr.summary.search({"formula_anonymous": "A3BC"},
how to use this formula_anonymous
to get A3BC where A is a cation
Thanks in advance
hello community,
is the formula_anonymous
method still in use
search_results=mpr.summary.search({"formula_anonymous": "A3BC"},
how to use this formula_anonymous
to get A3BC where A is a cation
Thanks in advance
@Amal1 please make sure to read our API docs. mpr.summary.search
takes keyword arguments and not a dictionary as input. The docstrings for the client explain the keyword arguments. You can pass an anonymized formula to the formula
argument:
formula (str, List[str]):
A formula including anonymized formula or wild cards (e.g., Fe2O3, ABO3, Si*).
A list of chemical formulas can also be passed (e.g., [Fe2O3, ABO3]).