aetherfield 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aetherfield
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: AetherField runtime ephemeris
5
5
  Author: WitchMithras
6
6
  License: Other/Proprietary License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aetherfield"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  description = "AetherField runtime ephemeris"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -255,22 +255,23 @@ def compare_once(body: str, dt: Any, force_aether: bool = False, fit_rates: bool
255
255
  a.fit_rates()
256
256
  except Exception:
257
257
  pass
258
+ sky_lon: Optional[float] = None
259
+ sky_sign: Optional[str] = None
258
260
  if force_aether:
259
261
  aether_lon = _drift_longitude(a, dt, body)
260
262
  aether_sign = af.get_zodiac_by_longitude(aether_lon)
261
263
  else:
262
264
  aether_lon = a.longitude(dt, body)
263
265
  aether_sign = a.sign(dt, body)
264
- sky_lon: Optional[float] = None
265
- sky_sign: Optional[str] = None
266
- if af.in_ephemeris_window(dt):
267
- try:
268
- sky_lon = sf_ecliptic_longitude(dt, body)
269
- sky_sign = af.get_zodiac_by_longitude(sky_lon)
270
- except Exception:
271
- pass
266
+ if af.in_ephemeris_window(dt):
267
+ try:
268
+ sky_lon = sf_ecliptic_longitude(dt, body)
269
+ sky_sign = af.get_zodiac_by_longitude(sky_lon)
270
+ except Exception:
271
+ pass
272
+
272
273
  delta = wrap_delta_deg(aether_lon, sky_lon) if sky_lon is not None else None
273
- return CompareResult(body, dt, aether_lon, sky_lon, delta, aether_sign, sky_sign)
274
+ return CompareResult(body, dt, aether_lon, aether_sign)
274
275
 
275
276
 
276
277
  def main(argv=None) -> int:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aetherfield
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: AetherField runtime ephemeris
5
5
  Author: WitchMithras
6
6
  License: Other/Proprietary License
File without changes
File without changes
File without changes