fix(yogini): use Goel Table I order and birth balance (BUG-1262, upstream 1918ffaf)
This commit is contained in:
@@ -302,6 +302,16 @@ class OrchestratorBridge:
|
||||
else:
|
||||
info["moon_pada"] = 1
|
||||
|
||||
moon_longitude = data.get("moon_longitude")
|
||||
if moon_longitude is None:
|
||||
chart = data.get("chart") or data.get("natal_chart") or {}
|
||||
planets = data.get("planets") or chart.get("planets") or {}
|
||||
moon = planets.get("Moon") or planets.get("moon") if isinstance(planets, dict) else None
|
||||
if isinstance(moon, dict):
|
||||
moon_longitude = moon.get("longitude", moon.get("degree", moon.get("lon")))
|
||||
if moon_longitude is not None:
|
||||
info["moon_longitude"] = float(moon_longitude)
|
||||
|
||||
return info if info.get("birth_datetime") else None
|
||||
|
||||
def _add_dasha_timing_anchor(
|
||||
|
||||
Reference in New Issue
Block a user