root_mcp.common.root_availability module
Detection and availability checking for native ROOT/PyROOT.
- root_mcp.common.root_availability.get_root_features()[source]
Get a dict of optional ROOT feature availability.
- Example return:
{“rdataframe”: True, “roofit”: True, “tmva”: False, “minuit2”: True}
Returns empty dict if ROOT is not available. Result is cached after the first call.
- root_mcp.common.root_availability.get_root_version()[source]
Get the ROOT version string (e.g. ‘6.32/02’), or None if not available.
Result is cached after the first call.
- Return type:
str | None